Commit fb0b9329 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Revert "Fix deprecation in specs"

This reverts commit 414ead57.
parent 3efbdbfd
......@@ -39,7 +39,7 @@ describe 'gitlab:app namespace rake task' do
YAML.stub load_file: {gitlab_version: gitlab_version}
Rake::Task["gitlab:backup:db:restore"].should_receive :invoke
Rake::Task["gitlab:backup:repo:restore"].should_receive :invoke
expect { run_rake_task }.to_not raise_error
expect { run_rake_task }.to_not raise_error SystemExit
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