Fix coding standards in specs

This commit is contained in:
Thibault Jouan
2015-05-03 22:48:34 +00:00
parent 342f9c5aa4
commit 79c4aef669
3 changed files with 0 additions and 7 deletions

View File

@@ -12,7 +12,6 @@ describe 'API sign in' do
it 'signs the user in with valid credentials' do
do_create
expect(json).to eq(user: { id: user.id })
end
@@ -21,7 +20,6 @@ describe 'API sign in' do
it 'rejects authentication' do
allow(user).to receive(attr).and_return(user.send(attr) + '_INVALID')
do_create
expect(response).to be_not_found
expect(response.body).to be_empty
end