spec/assistly/client/user_spec.rb in assistly-0.2.0 vs spec/assistly/client/user_spec.rb in assistly-0.2.1
- old
+ new
@@ -45,11 +45,11 @@
should have_been_made
end
it "should return up to 100 users worth of extended information" do
users = @client.users
- users.should be_a Array
- users.first.name.should == "Test User"
+ users.results.should be_a Array
+ users.results.first.user.name.should == "Test User"
end
end
end
end