FIX the build

This commit is contained in:
Régis Hanol
2014-08-20 19:20:29 +02:00
parent 054ae8bc13
commit d7f8146a17
2 changed files with 3 additions and 3 deletions

View File

@ -66,9 +66,9 @@ describe Admin::BackupsController do
describe ".create" do
it "starts a backup" do
BackupRestore.expects(:backup!).with(@admin.id, true)
BackupRestore.expects(:backup!).with(@admin.id, { publish_to_message_bus: true, with_uploads: false })
xhr :post, :create
xhr :post, :create, { with_uploads: false }
response.should be_success
end