summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-16 11:22:59 +0200
committerJames Lopez <james@jameslopez.es>2016-05-16 11:22:59 +0200
commit834c95375089d3415c52b4197a62863a57eea7d2 (patch)
tree8a3b69e6404dd50fac3fd804502c0c7fcda690e6 /spec/lib
parent220e55a9806c4de9fc6839b1c676ba022b83f720 (diff)
parentf386d7a7b7f67ba8e77ee40ef6a3383d5206d0c1 (diff)
downloadgitlab-ce-834c95375089d3415c52b4197a62863a57eea7d2.tar.gz
fix merge conflicts
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/import_export/import_export_reader_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/import_export/import_export_reader_spec.rb b/spec/lib/gitlab/import_export/import_export_reader_spec.rb
index 2fc9a39c68b..c4d03fecd54 100644
--- a/spec/lib/gitlab/import_export/import_export_reader_spec.rb
+++ b/spec/lib/gitlab/import_export/import_export_reader_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-describe Gitlab::ImportExport::ImportExportReader do
+describe Gitlab::ImportExport::ImportExportReader, lib: true do
let(:shared) { Gitlab::ImportExport::Shared.new(relative_path:'') }
let(:test_config) { 'spec/support/import_export/import_export.yml' }
let(:project_tree_hash) do
@@ -16,7 +16,7 @@ describe Gitlab::ImportExport::ImportExportReader do
}
end
- it 'should generate hash from project tree config' do
- expect(described_class.new(config: test_config, shared: shared).project_tree) =~ (project_tree_hash)
+ it 'generates hash from project tree config' do
+ expect(described_class.new(config: test_config, shared: shared).project_tree).to match(project_tree_hash)
end
end