Skip to content

Commit

Permalink
better syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmcconnell committed Jan 17, 2015
1 parent c49b222 commit e83fc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/authenticator/client/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
describe '#authenticate' do
it 'creates an account' do
VCR.use_cassette('authenticate_success') do
response = subject.authenticate({ id: 4, password: 'new_password' })
response = subject.authenticate(id: 4, password: 'new_password')

expect(response.json['authenticated']).to eq true
expect(response.authenticated?).to eq true
Expand Down

0 comments on commit e83fc1c

Please sign in to comment.