Moves jstoolbar script include tags to head.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5238 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2011-03-28 19:56:22 +00:00
1 parent 393df388fc
commit 70d765e906
2 files changed
+14 -4

No files matched your search

+9
View File
@@ -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