Sha256: 41de48ee9022c5d5d599ec799d9c4b4b1d7b049510ba01f3c74054257ec1d881
Contents?: true
Size: 448 Bytes
Versions: 22
Compression:
Stored size: 448 Bytes
Contents
require 'rails_helper' RSpec.describe "Login with google oauth2", type: :feature do before do mock_omni_auth_google_oauth2 end it 'signs in and signs out' do visit kuroko2_path click_on('Sign in with Google') expect(page.current_path).to eq(kuroko2_path) expect(page).to have_content('Favorite Job Definitions') click_on('Sign out') expect(page).to have_content('Please sign in with Google account.') end end
Version data entries
22 entries across 22 versions & 1 rubygems