aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/tags.yml2
-rw-r--r--test/system/comments_test.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/fixtures/tags.yml b/test/fixtures/tags.yml
index 1e0ce52..fcfcfd7 100644
--- a/test/fixtures/tags.yml
+++ b/test/fixtures/tags.yml
@@ -2,4 +2,4 @@ tag1:
name: 'tag1'
tag2:
- name: 'tag2'
+ name: 'Compound tag'
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