Skip to content
Snippets Groups Projects
Commit f4503da9 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Fix invalid spec for generate_oauth_hmac

parent 809c4a10
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,8 +16,8 @@ describe UserSessionsHelper do
 
it 'should return different hmacs for different salts' do
secret1 = generate_oauth_hmac(salt, return_to)
secret2 = generate_oauth_hmac(salt, return_to)
secret1.should eq(secret2)
secret2 = generate_oauth_hmac(salt2, return_to)
secret1.should_not eq(secret2)
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment