Commit fb0b9329379d3df9b22ab202556a15bd0181f13e

Authored by Dmitriy Zaporozhets
1 parent 3efbdbfd

Revert "Fix deprecation in specs"

This reverts commit 414ead57ee294618e73ef62f521b11d98fdce3a0.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/tasks/gitlab/backup_rake_spec.rb
... ... @@ -39,7 +39,7 @@ describe 'gitlab:app namespace rake task' do
39 39 YAML.stub load_file: {gitlab_version: gitlab_version}
40 40 Rake::Task["gitlab:backup:db:restore"].should_receive :invoke
41 41 Rake::Task["gitlab:backup:repo:restore"].should_receive :invoke
42   - expect { run_rake_task }.to_not raise_error
  42 + expect { run_rake_task }.to_not raise_error SystemExit
43 43 end
44 44 end
45 45  
... ...