Revert "Fix deprecation in specs"

This reverts commit 414ead57ee.
This commit is contained in:
Dmitriy Zaporozhets 2014-01-14 23:55:51 +02:00
parent 3efbdbfda6
commit fb0b932937
1 changed files with 1 additions and 1 deletions

View File

@ -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