From 70d765e906a50e672ab4534882db6f85abf7cc4c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 28 Mar 2011 19:56:22 +0000 Subject: Moves jstoolbar script include tags to head. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5238 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/layout_test.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/integration') 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 -- cgit v1.2.3