spec/pilha/stack_overflow/user_spec.rb in pilha-0.1.1 vs spec/pilha/stack_overflow/user_spec.rb in pilha-0.1.2
- old
+ new
@@ -38,10 +38,10 @@
first_user.badge_counts['silver'].should be_zero
first_user.badge_counts['bronze'].should == 1
end
it 'should return the right number of items when pagesize is passed in the query parameters' do
- response = StackOverflow::User.find_by_badge_id(9, :pagesize => 50)
+ response = StackOverflow::User.find_by_badge_id(9, :query => { :pagesize => 50 })
response.pagesize.should == 50
response.users.size.should == 50
end
end