Sha256: dae2099afa7f071700ef6e45d17bc5f37ccd3a67909bdadc3fec24a6ff08bfde
Contents?: true
Size: 430 Bytes
Versions: 11
Compression:
Stored size: 430 Bytes
Contents
require 'rails_helper' RSpec.feature "Userlogins", type: :feature do scenario "Admin User Sign In" do skip visit "/sessions/new" fill_in "User name", :with => "admin" fill_in "Password", :with => "secret1" click_button "Sign In" xexpect(page).to have_text("My Articles") end scenario "Google User Sign In" do visit "/auth/google_oauth2" expect(page).to have_text("My Articles") end end
Version data entries
11 entries across 9 versions & 2 rubygems