Sha256: 0adb1b85bcacc6b4e772e11ed34b14188391b39c4b88a4ca05cc6b40b43574c9
Contents?: true
Size: 425 Bytes
Versions: 52
Compression:
Stored size: 425 Bytes
Contents
require 'rails_helper' RSpec.feature "Userlogins", type: :feature do scenario "Admin User Sign In" do visit "/sessions/new" fill_in "User name", :with => "admin" fill_in "Password", :with => "secret1" click_button "Sign In" expect(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
52 entries across 52 versions & 3 rubygems