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

Version Path
jinda-0.4.1 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.4.0 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.9 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.8 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.7 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.6 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.5 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.4 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.3 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.2 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.1 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.3.0 lib/generators/jinda/templates/spec/features/userlogins_spec.rb