spec/integration_spec.rb in moo_moo-0.3.0 vs spec/integration_spec.rb in moo_moo-0.4.0
- old
+ new
@@ -4,11 +4,11 @@
it "Lookup should work" do
lookup = MooMoo::Lookup.new
VCR.use_cassette("integration/lookup") do
- response = lookup.lookup_domain(:domain => "opensrs.net")
- response.attributes["status"].should == "taken"
+ lookup.api_lookup(:domain => "opensrs.net")
+ lookup.attributes["status"].should == "taken"
end
end
end
\ No newline at end of file