Skip to content

Commit ef2dca6

Browse files
committed
Use fewer lines, it's really important
1 parent 7a88ebc commit ef2dca6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

spec/rpi_auth/models/authenticatable_spec.rb

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,9 @@ class DummyUser
5454

5555
it 'returns a user with the correct attributes' do
5656
expect(omniauth_user).to be_a described_class
57-
expect(omniauth_user).to have_attributes(user_id: 'testuserid',
58-
name: 'Bodkin Van Horn',
59-
nickname: 'Hoos-Foos',
60-
email: 'test@example.com',
61-
country: 'Zimbabwe',
62-
country_code: 'ZW',
57+
expect(omniauth_user).to have_attributes(user_id: 'testuserid', name: 'Bodkin Van Horn',
58+
nickname: 'Hoos-Foos', email: 'test@example.com',
59+
country: 'Zimbabwe', country_code: 'ZW',
6360
picture: 'https://placecage.com/100/100',
6461
profile: 'https://my.raspberry.pi/profile/edit')
6562
end

0 commit comments

Comments
 (0)