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

Version Path
jinda-0.7.7.4 test/dummy/spec/features/userlogins_spec.rb
jinda-0.7.7.4 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.7.3 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.7.3 test/dummy/spec/features/userlogins_spec.rb
jinda-0.7.7.2 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.7.1 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda_mind-1.0.0 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.7 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.6 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.5.5 lib/generators/jinda/templates/spec/features/userlogins_spec.rb
jinda-0.7.5.4 lib/generators/jinda/templates/spec/features/userlogins_spec.rb