test/fgraph_test.rb in fgraph-0.1.2 vs test/fgraph_test.rb in fgraph-0.1.3
- old
+ new
@@ -65,14 +65,14 @@
should "should call format_url with options" do
FGraph.expects(:format_url).with('/oauth/authorize', {
:client_id => FACEBOOK_API_KEY,
:redirect_uri => FACEBOOK_OAUTH_REDIRECT_URI,
- :scope => 'user_photos'
+ :scope => 'publish_stream'
})
FGraph.oauth_authorize_url(FACEBOOK_API_KEY, FACEBOOK_OAUTH_REDIRECT_URI,
- :scope => 'user_photos')
+ :scope => 'publish_stream')
end
end
context "FGraph.oauth_access_token" do
should "return user access token and expires" do