diff options
author | James Lopez <james@jameslopez.es> | 2016-05-06 17:55:06 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-05-06 17:55:06 +0200 |
commit | 8ac53eb5d0dcc6d0248a8b178a3c1b5f2d2284e1 (patch) | |
tree | 1e2da8799bb8e20fb92343bce6ac67fc9fa21546 /spec | |
parent | b6ab4a311396d12cdb686df885fe48c58ea31218 (diff) | |
download | gitlab-ce-8ac53eb5d0dcc6d0248a8b178a3c1b5f2d2284e1.tar.gz |
started refactoring import export reader - WIP
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/import_export/import_export_reader_spec.rb | 4 |
1 files changed, 1 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 0b2da73a225..6be2289b5a0 100644 --- a/spec/lib/gitlab/import_export/import_export_reader_spec.rb +++ b/spec/lib/gitlab/import_export/import_export_reader_spec.rb @@ -17,8 +17,6 @@ describe Gitlab::ImportExport::ImportExportReader do end it 'should generate hash from project tree config' do - allow(described_class).to receive(:config).and_return(YAML.load_file(test_config).deep_symbolize_keys) - - expect(described_class.project_tree).to eq(project_tree_hash) + expect(described_class.new(config: test_config).project_tree).to eq(project_tree_hash) end end |