spec/whostmgr/ssl_spec.rb in lumberg-2.0.0.pre9 vs spec/whostmgr/ssl_spec.rb in lumberg-2.0.0.pre12

- old
+ new

@@ -27,8 +27,29 @@ ssl.remove_data( id: 'c2600_26b3b_0e30b9d45805332236d6e4adf003f1b3', type: 'key' )[:message].should eq "deleted successfully" end end + + describe "#create" do + use_vcr_cassette "whostmgr/ssl/create" + + subject do + ssl.create( + city: "houston", + host: "myhost.com", + country: "US", + state: "TX", + company: "Company", + company_division: "Dept", + email: "test@myhost.com", + pass: "abc123", + xemail: "", + noemail: 1) + end + + its([:success]) { should be_true } + its([:message]) { should eq "successfully generated" } + end end end end