summaryrefslogtreecommitdiffstats
path: root/test/functional/journals_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/journals_controller_test.rb')
-rw-r--r--test/functional/journals_controller_test.rb8
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