Commit e2eb0b6f authored by James Lopez's avatar James Lopez

fix spec and added changelog

parent 8f07afe3
...@@ -20,7 +20,7 @@ describe Backup::Repository, lib: true do ...@@ -20,7 +20,7 @@ describe Backup::Repository, lib: true do
$progress = @old_progress # rubocop:disable Style/GlobalVars $progress = @old_progress # rubocop:disable Style/GlobalVars
end end
describe '.dump' do describe '#dump' do
describe 'repo failure' do describe 'repo failure' do
before do before do
allow_any_instance_of(Project).to receive(:empty_repo?).and_raise(Rugged::OdbError) allow_any_instance_of(Project).to receive(:empty_repo?).and_raise(Rugged::OdbError)
...@@ -52,7 +52,7 @@ describe Backup::Repository, lib: true do ...@@ -52,7 +52,7 @@ describe Backup::Repository, lib: true do
end end
end end
describe '.restore' do describe '#restore' do
describe 'command failure' do describe 'command failure' do
before do before do
allow(Gitlab::Popen).to receive(:popen).and_return(['error', 1]) allow(Gitlab::Popen).to receive(:popen).and_return(['error', 1])
......
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