mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-04-27 14:57:45 +00:00
Renamed the "valid?" method test.
This commit is contained in:
parent
126b807e2d
commit
6e188c8bab
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class SimpleOAuthTest < Test::Unit::TestCase
|
||||||
assert_equal "OAuth #{header.send(:normalized_attributes)}", header.to_s
|
assert_equal "OAuth #{header.send(:normalized_attributes)}", header.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_valid
|
def test_valid?
|
||||||
# When given consumer and token secrets, those secrets must be passed into
|
# When given consumer and token secrets, those secrets must be passed into
|
||||||
# the parsed header validation in order for the validity check to pass.
|
# the parsed header validation in order for the validity check to pass.
|
||||||
secrets = {:consumer_secret => 'CONSUMER_SECRET', :token_secret => 'TOKEN_SECRET'}
|
secrets = {:consumer_secret => 'CONSUMER_SECRET', :token_secret => 'TOKEN_SECRET'}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue