Sha256: 380528d0f7f9ab2d7f5ef5077001771b8ad96257a73e2fd1240a104f8f1a650f
Contents?: true
Size: 436 Bytes
Versions: 22
Compression:
Stored size: 436 Bytes
Contents
require 'rails_helper' describe Kuroko2::User do describe '#google_account?' do subject { user.google_account? } context 'provider is google_oauth2' do let(:user) { create(:user, provider: 'google_oauth2') } it { is_expected.to be_truthy } end context 'provider is not google_oauth2' do let(:user) { create(:user, provider: 'group_email') } it { is_expected.to be_falsey } end end end
Version data entries
22 entries across 22 versions & 1 rubygems