spec/apps/user_spec.rb in vkontakte-0.0.8 vs spec/apps/user_spec.rb in vkontakte-0.0.9
- old
+ new
@@ -11,10 +11,10 @@
@user = Vkontakte::App::User.new('uid', :access_token => 'ACCESS_TOKEN')
end
it "should load user profile" do
FakeWeb.register_uri(:get,
- "https://api.vk.com/method/users.get?v=5.24&access_token=ACCESS_TOKEN&uids=uid",
+ "https://api.vk.com/method/users.get?v=5.24&access_token=ACCESS_TOKEN&user_ids=uid",
:body => '{"response":[{"uid":2592709, "last_name":"Галета", "first_name":"Павел"}]}')
@user.fetch.should_not be_blank
end
end