spec/whostmgr/ssl_spec.rb in lumberg-2.0.0.pre7 vs spec/whostmgr/ssl_spec.rb in lumberg-2.0.0.pre8

- old
+ new

@@ -14,10 +14,20 @@ use_vcr_cassette "whostmgr/ssl/remove" it "removes the cert" do ssl.remove( domain: domain - )[:message].should eq "You have successfully deleted the SSL host" + )[:message].should eq "successfully deleted" + end + end + + describe "#remove_data" do + use_vcr_cassette "whostmgr/ssl/remove_data" + + it "removes the cert data" do + ssl.remove_data( + id: 'c2600_26b3b_0e30b9d45805332236d6e4adf003f1b3', type: 'key' + )[:message].should eq "deleted successfully" end end end end end