summaryrefslogtreecommitdiffstats
path: root/test/integration/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-20 19:38:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-20 19:38:40 +0000
commit2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f (patch)
tree908919107cfd6d6095f648dba895e476a512161a /test/integration/lib
parenta7559e669f4f131ccec74b585973492665a21daa (diff)
downloadredmine-2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f.tar.gz
redmine-2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f.zip
Quote values in DOM selectors for Nokogiri compatibility.
git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/lib')
-rw-r--r--test/integration/lib/redmine/hook_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/lib/redmine/hook_test.rb b/test/integration/lib/redmine/hook_test.rb
index 2746fb5e3..f0520b58e 100644
--- a/test/integration/lib/redmine/hook_test.rb
+++ b/test/integration/lib/redmine/hook_test.rb
@@ -101,8 +101,8 @@ VIEW
assert_response :success
assert_select 'p', :text => 'ContentForInsideHook content'
assert_select 'head' do
- assert_select 'script[src=/plugin_assets/test_plugin/javascripts/test_plugin.js]'
- assert_select 'link[href=/plugin_assets/test_plugin/stylesheets/test_plugin.css]'
+ assert_select 'script[src="/plugin_assets/test_plugin/javascripts/test_plugin.js"]'
+ assert_select 'link[href="/plugin_assets/test_plugin/stylesheets/test_plugin.css"]'
end
end