Sha256: 9043db7acfd1c79adf392e4709e43d985ad5c63912e7e23a4937021f6cc8b9c5

Contents?: true

Size: 1.04 KB

Versions: 28

Compression:

Stored size: 1.04 KB

Contents

Feature: Manage logins
  In order to login with Devise LDAP Authenticatable
  As a user
  I want to login with LDAP

  Background:
    Given I check for SSL
    Given the following logins:
      | email                 | password |
      | example.user@test.com | secret  |
  
  Scenario: Login with valid user
    Given I am on the login page
    When I fill in "Email" with "example.user@test.com"
    And I fill in "Password" with "secret"
    And I press "Sign in"
    Then I should see "posts#index"
    
  Scenario: Login with invalid user
    Given I am on the login page
    When I fill in "Email" with "example.user@test.com"
    And I fill in "Password" with "wrong"
    And I press "Sign in"
    Then I should see "Invalid email or password"
  
  Scenario: Get redirected to the login page and then login
    When I go to the new post page
    Then I should be on the login page
    When I fill in "Email" with "example.user@test.com"
    And I fill in "Password" with "secret"
    And I press "Sign in"
    Then I should be on the new post page
  
  
  

Version data entries

28 entries across 28 versions & 6 rubygems

Version Path
devise_ldap_authenticatable-0.8.7 spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.8.6 spec/rails_app/features/manage_logins.feature
houston-devise_ldap_authenticatable-0.7.1 spec/rails_app/features/manage_logins.feature
houston-devise_ldap_authenticatable-0.7.0 spec/rails_app/features/manage_logins.feature
xn_devise_ldap_authenticatable-0.8.5 spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.8.5 spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.8.4 spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.8.3 spec/rails_app/features/manage_logins.feature
devise_ldap_norm-0.2.0 spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.8.1 spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.8.0 spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.8.0.pre spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.7.0 spec/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.6.1 test/rails_app/features/manage_logins.feature
prathe_devise_ldap_authenticatable-0.6.0 test/rails_app/features/manage_logins.feature
charanya-devise_ldap_authenticatable-0.4.6.1 test/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.6.0 test/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.5.1 test/rails_app/features/manage_logins.feature
devise_ldap_authenticatable-0.5.0 test/rails_app/features/manage_logins.feature
prathe_devise_ldap_authenticatable-0.4.10 test/rails_app/features/manage_logins.feature