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.7.5.3 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.5.2 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.5.0 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.3 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.2 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.1 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.0.4 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.0.3 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.0.2 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.0.1 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.0 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.6.9 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.6.8 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.6.7 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.6.5 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.6.4 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.6.3 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.6.2 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.6.1 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda_engine-0.6.0 lib/generators/jinda_engine/templates/spec/features/userlogins_spec.rb