summaryrefslogtreecommitdiff
path: root/spec/features/issues/move_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-11-23 14:55:23 +0800
committerDouwe Maan <douwe@selenight.nl>2016-11-24 18:26:29 +0800
commit6df22f72c6c312199c547e017ce1f947cf88e34c (patch)
treec91130ad2d0bca231dd38d359c061a4227c778c0 /spec/features/issues/move_spec.rb
parentd0c0c75ca9568bc3ec00c341a6053623d85e6201 (diff)
downloadgitlab-ce-rephrase-system-notes.tar.gz
Rephrase some system notes to be compatible with new system note stylerephrase-system-notes
Diffstat (limited to 'spec/features/issues/move_spec.rb')
-rw-r--r--spec/features/issues/move_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/issues/move_spec.rb b/spec/features/issues/move_spec.rb
index 055210399a7..c9bec05a9da 100644
--- a/spec/features/issues/move_spec.rb
+++ b/spec/features/issues/move_spec.rb
@@ -27,7 +27,7 @@ feature 'issue move to another project' do
let!(:mr) { create(:merge_request, source_project: old_project) }
let(:new_project) { create(:project) }
let(:new_project_search) { create(:project) }
- let(:text) { 'Text with !1' }
+ let(:text) { "Text with #{mr.to_reference}" }
let(:cross_reference) { old_project.to_reference }
background do
@@ -43,8 +43,8 @@ feature 'issue move to another project' do
expect(current_url).to include project_path(new_project)
- expect(page).to have_content("Text with #{cross_reference}!1")
- expect(page).to have_content("Moved from #{cross_reference}#1")
+ expect(page).to have_content("Text with #{cross_reference}#{mr.to_reference}")
+ expect(page).to have_content("moved from #{cross_reference}#{issue.to_reference}")
expect(page).to have_content(issue.title)
end