Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed typos in oauth_test
  • Loading branch information
stve authored and pengwynn committed Jun 22, 2010
1 parent 0e5aa20 commit 0250fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/twitter/oauth_test.rb
Expand Up @@ -8,12 +8,12 @@ class OAuthTest < Test::Unit::TestCase
twitter.csecret.should == 'secret'
end

should "set autorization path to '/oauth/authorize' by default" do
should "set authorization path to '/oauth/authorize' by default" do
twitter = Twitter::OAuth.new('token', 'secret')
twitter.consumer.options[:authorize_path].should == '/oauth/authorize'
end

should "set autorization path to '/oauth/authenticate' if sign_in_with_twitter" do
should "set authorization path to '/oauth/authenticate' if sign_in_with_twitter" do
twitter = Twitter::OAuth.new('token', 'secret', :sign_in => true)
twitter.consumer.options[:authorize_path].should == '/oauth/authenticate'
end
Expand Down

0 comments on commit 0250fcf

Please sign in to comment.