spec/shelly/cli/backup_spec.rb in shelly-0.2.27 vs spec/shelly/cli/backup_spec.rb in shelly-0.2.28
- old
+ new
@@ -294,10 +294,10 @@
it "should import given database from uploaded file" do
@app.should_receive(:ssh).with(:command => "import_database postgresql dump.sql-1370879705.tar.bz2",
:server => "app1")
$stdout.should_receive(:puts).with(green "Importing database")
fake_stdin(["yes"]) do
- invoke(@backup, :import, "postgresql", "dump.sql")
+ invoke(@backup, :import, "PostgreSQL", "dump.sql")
end
end
context "on answering no" do
it "should cancel database import" do