spec/shelly/app_spec.rb in shelly-0.1.35 vs spec/shelly/app_spec.rb in shelly-0.1.36

- old
+ new

@@ -366,9 +366,16 @@ @app.should_receive(:exec).with("rsync -avz -e 'ssh -o StrictHostKeyChecking=no -p 40010 -l foo' --progress console.example.com:/srv/glusterfs/disk/. /tmp") @app.download(".", "/tmp") end end + describe "#delete_file" do + it "should delete file over ssh" do + @app.should_receive(:ssh_command).with("delete_file foo/bar") + @app.delete_file("foo/bar") + end + end + describe "#create_cloudfile" do it "should create cloudfile with app attributes" do @app.ruby_version = "1.9.3" @app.environment = "production" @app.domains = ["example.com", "another.example.com"]