summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/conflict/file_collection_spec.rb
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-10-06 22:41:23 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-10-12 22:03:14 -0300
commit3fcab51ebb0f3156b5d732d050b292cd3e081262 (patch)
tree7292079f50121aae6e457bfd3dadb944fb2feeec /spec/lib/gitlab/conflict/file_collection_spec.rb
parent9cc15172deaa4582c5fd956cc163539041d018b1 (diff)
downloadgitlab-ce-3fcab51ebb0f3156b5d732d050b292cd3e081262.tar.gz
Refactor conflict resolution to contain git ops within Gitlab::Git
This prepares the codebase for a Gitaly migration. See https://gitlab.com/gitlab-org/gitaly/issues/553
Diffstat (limited to 'spec/lib/gitlab/conflict/file_collection_spec.rb')
-rw-r--r--spec/lib/gitlab/conflict/file_collection_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/conflict/file_collection_spec.rb b/spec/lib/gitlab/conflict/file_collection_spec.rb
index a4d7628b03a..5944ce8049a 100644
--- a/spec/lib/gitlab/conflict/file_collection_spec.rb
+++ b/spec/lib/gitlab/conflict/file_collection_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe Gitlab::Conflict::FileCollection do
let(:merge_request) { create(:merge_request, source_branch: 'conflict-resolvable', target_branch: 'conflict-start') }
- let(:file_collection) { described_class.read_only(merge_request) }
+ let(:file_collection) { described_class.new(merge_request) }
describe '#files' do
it 'returns an array of Conflict::Files' do