Commit adf6ee09 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #6053 from zzet/patch-6

Fix deprecation in specs
parents fafa1a2c 414ead57
......@@ -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 SystemExit
expect { run_rake_task }.to_not raise_error
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