Commit 2f50246e authored by Sean McGivern's avatar Sean McGivern

Resolve spec/models/project_wiki_spec.rb

parent 6bbad934
......@@ -220,19 +220,11 @@ describe ProjectWiki do
before do
subject.wiki # Make sure the wiki repo exists
<<<<<<< HEAD
repo_path = Gitlab::GitalyClient::StorageSettings.allow_disk_access do
subject.repository.path_to_repo
end
=======
repo_path = Gitlab::GitalyClient::StorageSettings.allow_disk_access do
subject.repository.path_to_repo
end
>>>>>>> upstream/master
BareRepoOperations.new(repo_path).commit_file(image, 'image.png')
end
......@@ -249,19 +241,11 @@ describe ProjectWiki do
file = subject.find_file('image.png')
expect(file).to be_a Gitlab::Git::WikiFile
end
<<<<<<< HEAD
it 'returns the whole file' do
file = subject.find_file('image.png')
image.rewind
=======
it 'returns the whole file' do
file = subject.find_file('image.png')
image.rewind
>>>>>>> upstream/master
expect(file.raw_data.b).to eq(image.read.b)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment