mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-03-25 08:45:54 +00:00
Merge pull request #18 from stve/plaintext-spec
fix description on PLAINTEXT spec
This commit is contained in:
commit
cbc2df1ca0
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ describe SimpleOAuth::Header do
|
|||
end
|
||||
end
|
||||
|
||||
context 'using the RSA-SHA1 signature method' do
|
||||
context 'using the PLAINTEXT signature method' do
|
||||
it 'requires consumer and token secrets' do
|
||||
secrets = {:consumer_secret => 'CONSUMER_SECRET', :token_secret => 'TOKEN_SECRET', :ignore_extra_keys => true}
|
||||
header = SimpleOAuth::Header.new(:get, 'https://api.twitter.com/1/statuses/friends.json', {}, secrets.merge(:signature_method => 'PLAINTEXT'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue