Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
superp committed Oct 30, 2014
1 parent 8b021fb commit 145c1a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/api/profile_spec.rb
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion spec/apps/user_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 145c1a4

Please sign in to comment.