summaryrefslogtreecommitdiffstats
path: root/test/integration/layout_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/layout_test.rb')
-rw-r--r--test/integration/layout_test.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/layout_test.rb b/test/integration/layout_test.rb
index 4e6f3d4d4..dc406871e 100644
--- a/test/integration/layout_test.rb
+++ b/test/integration/layout_test.rb
@@ -37,4 +37,13 @@ class LayoutTest < ActionController::IntegrationTest
assert_select "#quick-search"
end
end
+
+ def test_wiki_formatter_header_tags
+ Role.anonymous.add_permission! :add_issues
+
+ get '/projects/ecookbook/issues/new'
+ assert_tag :script,
+ :attributes => {:src => %r{^/javascripts/jstoolbar/textile.js}},
+ :parent => {:tag => 'head'}
+ end
end