diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-21 15:37:44 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-21 15:37:44 +0400 |
commit | b510f8c4965b210cc1a583fc15dc09871669e1bf (patch) | |
tree | 64c6f4b49b8d67a574b57ef2b4df7002d3a0234c /spec/tasks/gitlab | |
parent | 4398bdf2c953bf159cef1b8e34c5ec44f582b814 (diff) |
Fixed tests
Diffstat (limited to 'spec/tasks/gitlab')
-rw-r--r-- | spec/tasks/gitlab/backup_rake_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb index d9aa0543969..b17521e0148 100644 --- a/spec/tasks/gitlab/backup_rake_spec.rb +++ b/spec/tasks/gitlab/backup_rake_spec.rb @@ -15,8 +15,8 @@ describe 'gitlab:app namespace rake task' do end let :run_rake_task do - Rake::Task["gitlab:app:backup_restore"].reenable - Rake.application.invoke_task "gitlab:app:backup_restore" + Rake::Task["gitlab:backup:restore"].reenable + Rake.application.invoke_task "gitlab:backup:restore" end context 'gitlab version' do @@ -36,8 +36,8 @@ describe 'gitlab:app namespace rake task' do it 'should invoke restoration on mach' do YAML.stub :load_file => {:gitlab_version => gitlab_version} - Rake::Task["gitlab:app:db_restore"].should_receive :invoke - Rake::Task["gitlab:app:repo_restore"].should_receive :invoke + 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 SystemExit end end |