Fix typo in test
This commit is contained in:
parent
31e89f64af
commit
52b0d3a492
1 changed files with 2 additions and 2 deletions
|
@ -150,12 +150,12 @@ describe Issuable::Clone::ContentRewriter do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'notes with uploads' do
|
context 'notes with upload' do
|
||||||
let(:uploader) { build(:file_uploader, project: project1) }
|
let(:uploader) { build(:file_uploader, project: project1) }
|
||||||
let(:text) { "Simple text with image: #{uploader.markdown_link} "}
|
let(:text) { "Simple text with image: #{uploader.markdown_link} "}
|
||||||
let!(:note) { create(:note, noteable: original_issue, note: text, project: project1) }
|
let!(:note) { create(:note, noteable: original_issue, note: text, project: project1) }
|
||||||
|
|
||||||
it 'rewrites note content correclty' do
|
it 'rewrites note content correctly' do
|
||||||
subject.execute
|
subject.execute
|
||||||
new_note = new_issue.notes.first
|
new_note = new_issue.notes.first
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue