Commit 414ead57ee294618e73ef62f521b11d98fdce3a0
1 parent
71f1a845
Exists in
spb-stable
and in
3 other branches
Fix deprecation in specs
DEPRECATION: `expect { }.not_to raise_error(SpecificErrorClass)` is deprecated. Use `expect { }.not_to raise_error` (with no args) instead. Called from /home/travis/build/gitlabhq/gitlabhq/spec/tasks/gitlab/backup_rake_spec.rb:42:in `block (4 levels) in <top (required)>'.
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 SystemExit | |
42 | + expect { run_rake_task }.to_not raise_error | |
43 | 43 | end |
44 | 44 | end |
45 | 45 | ... | ... |