summaryrefslogtreecommitdiff
path: root/spec/tasks
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-14 23:55:51 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-14 23:55:51 +0200
commitfb0b9329379d3df9b22ab202556a15bd0181f13e (patch)
tree53cda9f822d2e247e3286a610dfc7cd522c3591c /spec/tasks
parent3efbdbfda6402418bad09b12ef0be243d1529b62 (diff)
downloadgitlab-ce-fb0b9329379d3df9b22ab202556a15bd0181f13e.tar.gz
Revert "Fix deprecation in specs"
This reverts commit 414ead57ee294618e73ef62f521b11d98fdce3a0.
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/gitlab/backup_rake_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb
index 8644157b3fb..cba243226db 100644
--- a/spec/tasks/gitlab/backup_rake_spec.rb
+++ b/spec/tasks/gitlab/backup_rake_spec.rb
@@ -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