summaryrefslogtreecommitdiff
path: root/spec/features/issues/note_polling_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/issues/note_polling_spec.rb')
-rw-r--r--spec/features/issues/note_polling_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issues/note_polling_spec.rb b/spec/features/issues/note_polling_spec.rb
index 3cd7ce6dada..342760c85f6 100644
--- a/spec/features/issues/note_polling_spec.rb
+++ b/spec/features/issues/note_polling_spec.rb
@@ -12,10 +12,10 @@ describe 'Issue notes polling', :js do
end
it 'displays the new comment' do
- note = create(:note, noteable: issue, project: project, note: 'Looks good!')
+ note = create(:note, noteable: issue, project: project, note: _('Looks good!'))
wait_for_requests
- expect(page).to have_selector("#note_#{note.id}", text: 'Looks good!')
+ expect(page).to have_selector("#note_#{note.id}", text: _('Looks good!'))
end
end