Sha256: e8ac77821163e52d43999aaa5717ad50b3f7c5edcd9cac7526fe68ae75e86797
Contents?: true
Size: 704 Bytes
Versions: 1
Compression:
Stored size: 704 Bytes
Contents
require 'spec_helper' describe MooMoo::OpenSRS::Base do describe "included modules" do subject { MooMoo::OpenSRS::Base } it { should include MooMoo::OpenSRS::CookieCommands } it { should include MooMoo::OpenSRS::LookupCommands } it { should include MooMoo::OpenSRS::NameserverCommands } it { should include MooMoo::OpenSRS::ProvisioningCommands } it { should include MooMoo::OpenSRS::TransferCommands } end describe "#try_opensrs" do it "raises an OpenSRSException" do expect do MooMoo::OpenSRS::Base.new.instance_eval do try_opensrs { raise "Exception message" } end end.to raise_error MooMoo::OpenSRSException end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moo_moo-0.1.1 | spec/moo_moo/opensrs/base_spec.rb |