spec/domain_spec.rb in sdbport-0.1.1 vs spec/domain_spec.rb in sdbport-0.2.0

- old
+ new

@@ -28,6 +28,12 @@ Sdbport::Domain::Purge.stub :new => @mock @mock.should_receive(:purge).and_return true @domain.purge.should be_true end + it "should call domain_destroy" do + Sdbport::Domain::Destroy.stub :new => @mock + @mock.should_receive(:destroy).and_return true + @domain.destroy.should be_true + end + end