test/test_helper.rb
# Add more helper methods to be used by all tests here...
Add more helper methods to be used by all tests here
Add more helper methods to be used by all tests here
def create_omniauth_mock_for(user)
      OmniAuth::AuthHash.new({
                               provider: user.provider,
                               uid: user.uid,
                               info: {
                                 name: user.name,
                                 email: user.email,
                                 image: user.image
                               }
                             })
    end
def create_omniauth_mock_for ( user ) OmniAuth :: AuthHash . new ( { provider : user . provider , uid : user . uid , info : { name : user . name , email : user . email , image : user . image } } ) end
Add more helper methods to be used by all tests here...
Add more helper methods to be used by all tests here ...
user
<not_specific>