Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix formatting

  • Loading branch information...
commit 1f7f47361f91dc3b183c399a502e39fd1df13cd3 1 parent d86845f
@arsduo authored
View
6 spec/cases/graph_api_batch_spec.rb
@@ -551,7 +551,7 @@
describe 'with post-processing callback' do
let(:me_result) { stub("me result") }
let(:friends_result) { stub("friends result") }
-
+
let(:me_callback) { lambda {|arg| {"result" => me_result, "args" => arg} } }
let(:friends_callback) { lambda {|arg| {"result" => friends_result, "args" => arg} } }
@@ -560,8 +560,8 @@
batch_api.get_object('me', &me_callback)
batch_api.get_connections('me', 'friends', &friends_callback)
end
- me["args"].should include("id" => KoalaTest.user1)
- friends["args"].should include("id" => KoalaTest.user2)
+ me["args"].should include("id" => KoalaTest.user1)
+ friends["args"].should include("id" => KoalaTest.user2)
end
it 'passes GraphCollections, not raw data' do
View
6 spec/cases/graph_api_spec.rb
@@ -44,7 +44,7 @@
}
response = @api.fql_multiquery({}, &post_processing)
response["args"].should == resolved_result
- response["result"].should == result
+ response["result"].should == result
end
end
@@ -53,8 +53,8 @@
token = Koala::MockHTTPService::APP_ACCESS_TOKEN
@api.stub(:api).and_return("access_token" => token)
response = @api.get_page_access_token('facebook', &post_processing)
- response["args"].should == token
- response["result"].should == result
+ response["args"].should == token
+ response["result"].should == result
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.