spec/cfoundry/v2/app_spec.rb in cfoundry-1.2.0 vs spec/cfoundry/v2/app_spec.rb in cfoundry-1.3.0
- old
+ new
@@ -236,6 +236,14 @@
end
expect(chunks).to eq(%w(a b))
end
end
+
+ describe "delete!" do
+ it "defaults to recursive" do
+ mock(client.base).delete("v2", :apps, subject.guid, {:params => {:recursive => true}})
+
+ subject.delete!
+ end
+ end
end