Commit adf6ee09b05d057ec9245287c0b878b5e5c2ae81
Exists in
spb-stable
and in
3 other branches
Merge pull request #6053 from zzet/patch-6
Fix deprecation in specs
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,7 +39,7 @@ describe 'gitlab:app namespace rake task' do | ||
39 | YAML.stub load_file: {gitlab_version: gitlab_version} | 39 | YAML.stub load_file: {gitlab_version: gitlab_version} |
40 | Rake::Task["gitlab:backup:db:restore"].should_receive :invoke | 40 | Rake::Task["gitlab:backup:db:restore"].should_receive :invoke |
41 | Rake::Task["gitlab:backup:repo:restore"].should_receive :invoke | 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 | end | 43 | end |
44 | end | 44 | end |
45 | 45 |