Sha256: 4453f892eea970813ef0b1f2e7af030a00781bea8d04cd8ecfcf7544a0494a5a

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 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("Sign Out")
  end





end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
jinda-0.8.0 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.8.0 test/dummy/spec/features/userlogins_spec.rb