mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 00:36:01 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user