diff options
Diffstat (limited to 'test/system/comments_test.rb')
| -rw-r--r-- | test/system/comments_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/comments_test.rb b/test/system/comments_test.rb index 33a1398..eb53412 100644 --- a/test/system/comments_test.rb +++ b/test/system/comments_test.rb @@ -31,7 +31,7 @@ class CommentsTest < ApplicationSystemTestCase click_on I18n.t('helpers.submit.create') assert_text 'a new comment' - assert_text "#{I18n.t('tags.title')}: #{tags(:tag1).name}, #{tags(:tag2).name}" + assert_text "#{I18n.t('tags.title')}: #{tags(:tag2).name}, #{tags(:tag1).name}" assert_equal page.current_path, thing_path(things(:thing1)) end @@ -82,7 +82,7 @@ class CommentsTest < ApplicationSystemTestCase click_on I18n.t('helpers.submit.create') assert_text 'a new comment' - assert_text "#{I18n.t('tags.title')}: #{tags(:tag1).name}, #{tags(:tag2).name}" + assert_text "#{I18n.t('tags.title')}: #{tags(:tag2).name}, #{tags(:tag1).name}" assert_equal page.current_path, edit_thing_path(things(:thing1)) end |
