@@ -14,7 +14,7 class LayoutTest < ActionController::IntegrationTest | |||||
14 |
|
14 | |||
15 | test "browsing to an unauthorized page should render the base layout" do |
|
15 | test "browsing to an unauthorized page should render the base layout" do | |
16 | change_user_password('miscuser9', 'test') |
|
16 | change_user_password('miscuser9', 'test') | |
17 |
|
17 | |||
18 | log_user('miscuser9','test') |
|
18 | log_user('miscuser9','test') | |
19 |
|
19 | |||
20 | get "/admin" |
|
20 | get "/admin" | |
@@ -37,10 +37,10 class LayoutTest < ActionController::IntegrationTest | |||||
37 | assert_select "#quick-search" |
|
37 | assert_select "#quick-search" | |
38 | end |
|
38 | end | |
39 | end |
|
39 | end | |
40 |
|
40 | |||
41 | def test_wiki_formatter_header_tags |
|
41 | def test_wiki_formatter_header_tags | |
42 | Role.anonymous.add_permission! :add_issues |
|
42 | Role.anonymous.add_permission! :add_issues | |
43 |
|
43 | |||
44 | get '/projects/ecookbook/issues/new' |
|
44 | get '/projects/ecookbook/issues/new' | |
45 | assert_tag :script, |
|
45 | assert_tag :script, | |
46 | :attributes => {:src => %r{^/javascripts/jstoolbar/textile.js}}, |
|
46 | :attributes => {:src => %r{^/javascripts/jstoolbar/textile.js}}, |
General Comments 0
You need to be logged in to leave comments.
Login now