summaryrefslogtreecommitdiff
path: root/spec/lib/github/import/legacy_diff_note_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-10-05 13:12:08 +0200
committerDouwe Maan <douwe@selenight.nl>2017-10-05 13:12:08 +0200
commit5daa8fbc29ee2fc309602d24167a401563bc3b2c (patch)
treeb99d1b6c54435e2fe1c2565c87ab9a41c36a5cd2 /spec/lib/github/import/legacy_diff_note_spec.rb
parente0fdcd19ec1973963452dde4384e071286f044b1 (diff)
parentde01353b166018a43ea92b38054b1267c3ba5cea (diff)
downloadgitlab-ce-5daa8fbc29ee2fc309602d24167a401563bc3b2c.tar.gz
Add changelog
Diffstat (limited to 'spec/lib/github/import/legacy_diff_note_spec.rb')
-rw-r--r--spec/lib/github/import/legacy_diff_note_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/lib/github/import/legacy_diff_note_spec.rb b/spec/lib/github/import/legacy_diff_note_spec.rb
new file mode 100644
index 00000000000..8c50b46cacb
--- /dev/null
+++ b/spec/lib/github/import/legacy_diff_note_spec.rb
@@ -0,0 +1,9 @@
+require 'spec_helper'
+
+describe Github::Import::LegacyDiffNote do
+ describe '#type' do
+ it 'returns the original note type' do
+ expect(described_class.new.type).to eq('LegacyDiffNote')
+ end
+ end
+end