File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ 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 . user_id ) . to eq ( 'testuserid' )
58- expect ( omniauth_user . name ) . to eq ( 'Bodkin Van Horn' )
59- expect ( omniauth_user . nickname ) . to eq ( 'Hoos-Foos' )
60- expect ( omniauth_user . email ) . to eq ( 'test@example.com' )
61- expect ( omniauth_user . country ) . to eq ( 'Zimbabwe' )
62- expect ( omniauth_user . country_code ) . to eq ( 'ZW' )
63- expect ( omniauth_user . picture ) . to eq ( 'https://placecage.com/100/100' )
64- expect ( omniauth_user . profile ) . to eq ( 'https://my.raspberry.pi/profile/edit' )
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' ,
63+ picture : 'https://placecage.com/100/100' ,
64+ profile : 'https://my.raspberry.pi/profile/edit' )
6565 end
6666
6767 context 'with unusual keys in info' do
You can’t perform that action at this time.
0 commit comments