Browse files

Fix formatting

  • Loading branch information...
1 parent d86845f commit 1f7f47361f91dc3b183c399a502e39fd1df13cd3 @arsduo committed Jan 14, 2013
Showing with 6 additions and 6 deletions.
  1. +3 −3 spec/cases/graph_api_batch_spec.rb
  2. +3 −3 spec/cases/graph_api_spec.rb
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

0 comments on commit 1f7f473

Please sign in to comment.