summaryrefslogtreecommitdiffstats
path: root/test/functional/welcome_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/welcome_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/welcome_controller_test.rb')
-rw-r--r--test/functional/welcome_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/welcome_controller_test.rb b/test/functional/welcome_controller_test.rb
index aa9afaeaf..2fd188c37 100644
--- a/test/functional/welcome_controller_test.rb
+++ b/test/functional/welcome_controller_test.rb
@@ -116,7 +116,7 @@ class WelcomeControllerTest < ActionController::TestCase
@request.session[:user_id] = 2
get :index
- assert_select 'a[href=/logout][data-method=post]', :text => 'Sign out'
+ assert_select 'a[href="/logout"][data-method=post]', :text => 'Sign out'
end
def test_call_hook_mixed_in