Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-05-11 01:41:46 +0300
committerDouwe Maan <douwe@selenight.nl>2016-05-14 01:31:43 +0300
commit99d3e21f19ffb5cccb58fdfeac4fb6174e7e65e2 (patch)
tree3dae33d98b9688a3f7e9a4c923f555920d86652b /spec/models/note_spec.rb
parent5e130c3e39febcd577e61ebd30bd231827d41f2c (diff)
Extract LegacyDiffNote out of Note
Diffstat (limited to 'spec/models/note_spec.rb')
-rw-r--r--spec/models/note_spec.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index 4b788b57882..264888cb376 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -43,12 +43,8 @@ describe Note, models: true do
expect(note.noteable.id).to eq(commit.id)
end
- it "should be recognized by #for_diff_line?" do
- expect(note).to be_for_diff_line
- end
-
- it "should be recognized by #for_commit_diff_line?" do
- expect(note).to be_for_commit_diff_line
+ it "should be recognized by #legacy_diff_note?" do
+ expect(note).to be_legacy_diff_note
end
end