summaryrefslogtreecommitdiffstats
path: root/test/functional/my_controller_test.rb
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/functional/my_controller_test.rb
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/functional/my_controller_test.rb')
-rw-r--r--test/functional/my_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb
index b9e965491..ea0184b2d 100644
--- a/test/functional/my_controller_test.rb
+++ b/test/functional/my_controller_test.rb
@@ -46,7 +46,7 @@ class MyControllerTest < ActionController::TestCase
get :page
assert_response :success
assert_select 'tr.time-entry' do
- assert_select 'td.subject a[href=/issues/1]'
+ assert_select 'td.subject a[href="/issues/1"]'
assert_select 'td.hours', :text => '2.50'
end
end
@@ -119,7 +119,7 @@ class MyControllerTest < ActionController::TestCase
def test_my_account_should_show_destroy_link
get :account
- assert_select 'a[href=/my/account/destroy]'
+ assert_select 'a[href="/my/account/destroy"]'
end
def test_get_destroy_should_display_the_destroy_confirmation