spec/mongohq-client/database_spec.rb in mongohq-client-0.0.3 vs spec/mongohq-client/database_spec.rb in mongohq-client-0.0.4

- old
+ new

@@ -74,6 +74,16 @@ it "should return collection with details" do collection.ns.should eq("database1.collection1") end end + describe "#remove" do + before do + FakeWeb.register_uri :delete, "https://api.mongohq.com/databases/database1?_apikey=123456", body: '{"ok":1}' + end + + it "should remove database" do + database.remove + end + end + end