Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix authorization specs

  • Loading branch information...
commit 9760dbe226f57af03304c437212d2d98351820ea 1 parent d6b33cd
@nsanta authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  specs/lib/fbauth/authorization_spec.rb
View
2  specs/lib/fbauth/authorization_spec.rb
@@ -21,7 +21,7 @@
describe '.authorize_url' do
it 'should return the authorization url' do
@authorization.authorize_url(:redirect_uri => 'redirect/to/path' ,
- :scope => 'email,user_photos,friends_photos').should == "https://graph.facebook.com/oauth/authorize?response_type=code&client_id=client_id&redirect_uri=redirect%2Fto%2Fpath&scope=email%2Cuser_photos%2Cfriends_photos"
+ :scope => 'email,user_photos,friends_photos').should =~ /redirect_uri=redirect%2Fto%2Fpath/
end
end
describe "process_callback" do
Please sign in to comment.
Something went wrong with that request. Please try again.