diff --git a/spec/api/profile_spec.rb b/spec/api/profile_spec.rb index b3128f2..3237cf0 100644 --- a/spec/api/profile_spec.rb +++ b/spec/api/profile_spec.rb @@ -15,7 +15,7 @@ @friends_response = '{"response": {"count": 8, "items": [233297, 424407, 593420, 705017, 830116, 838081, 1075165, 1312768]}}' FakeWeb.register_uri(:get, - "https://api.vk.com/method/users.get?v=5.24&uids=2592709&access_token=#{@token}", + "https://api.vk.com/method/users.get?v=5.24&user_ids=2592709&access_token=#{@token}", :body => response) FakeWeb.register_uri(:get, diff --git a/spec/apps/user_spec.rb b/spec/apps/user_spec.rb index a4b79a8..e5ecbca 100644 --- a/spec/apps/user_spec.rb +++ b/spec/apps/user_spec.rb @@ -13,7 +13,7 @@ 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