diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-20 19:57:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-20 19:57:06 +0000 |
commit | 36d487fe505fbad9b0bc18a4d8f7b435a211be4a (patch) | |
tree | 7bf75212c0d2a0ea45db6ea1ebc7fa8460a34648 /test/functional/journals_controller_test.rb | |
parent | 2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f (diff) | |
download | redmine-36d487fe505fbad9b0bc18a4d8f7b435a211be4a.tar.gz redmine-36d487fe505fbad9b0bc18a4d8f7b435a211be4a.zip |
Replaced some #assert_tag with #assert_select.
git-svn-id: http://svn.redmine.org/redmine/trunk@13620 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/journals_controller_test.rb')
-rw-r--r-- | test/functional/journals_controller_test.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/functional/journals_controller_test.rb b/test/functional/journals_controller_test.rb index 36253f50c..d281be5a4 100644 --- a/test/functional/journals_controller_test.rb +++ b/test/functional/journals_controller_test.rb @@ -51,12 +51,8 @@ class JournalsControllerTest < ActionController::TestCase assert_response :success assert_template 'diff' - assert_tag 'span', - :attributes => {:class => 'diff_out'}, - :content => /removed/ - assert_tag 'span', - :attributes => {:class => 'diff_in'}, - :content => /added/ + assert_select 'span.diff_out', :text => /removed/ + assert_select 'span.diff_in', :text => /added/ end def test_reply_to_issue |