Rubocop autocorrections

This commit is contained in:
James Mason 2018-11-13 18:01:49 -08:00
parent 299738f58d
commit 43bef689fc
85 changed files with 622 additions and 578 deletions

View file

@ -234,15 +234,15 @@ describe User do
describe '.find_for_auth' do
let(:auth) do
OmniAuth::AuthHash.new(provider: 'google',
uid: 'google-test-uid-1',
info: {
name: 'new user name',
email: 'test-1@gmail.com',
OmniAuth::AuthHash.new(provider: 'google',
uid: 'google-test-uid-1',
info: {
name: 'new user name',
email: 'test-1@gmail.com',
username: 'newuser'
},
credentials: {
token: 'mock_token',
token: 'mock_token',
secret: 'mock_secret'
}
)
@ -285,7 +285,7 @@ describe User do
it 'returns hash of role and conference' do
expected_hash = {
'organizer' => %w[oSC16 oSC15],
'cfp' => ['oSC16']
'cfp' => ['oSC16']
}
expect(user.get_roles).to eq expected_hash