diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-03-28 19:56:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-03-28 19:56:22 +0000 |
commit | 70d765e906a50e672ab4534882db6f85abf7cc4c (patch) | |
tree | 12076438f413951d23ec1c037e681bb4f8f54ee2 /test/integration/layout_test.rb | |
parent | 393df388fce8c5633ce548882535715f585179c5 (diff) | |
download | redmine-70d765e906a50e672ab4534882db6f85abf7cc4c.tar.gz redmine-70d765e906a50e672ab4534882db6f85abf7cc4c.zip |
Moves jstoolbar script include tags to head.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5238 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/layout_test.rb')
-rw-r--r-- | test/integration/layout_test.rb | 9 |
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 |