spec/grendel/client_spec.rb in grendel-ruby-0.1.2 vs spec/grendel/client_spec.rb in grendel-ruby-0.1.3
- old
+ new
@@ -2,18 +2,18 @@
describe "Grendel::Client" do
before do
@client = Grendel::Client.new("http://example.com")
end
-
+
describe "new method" do
it "should set the base_uri" do
@client.base_uri.should == "http://example.com"
end
end
-
+
describe "users method" do
it "should return a Grendel::UserManager" do
- @client.users.class.should be(Grendel::UserManager)
+ @client.users.should be_a(Grendel::UserManager)
end
end
end