Sha256: 3178c7dfda2bdeefbb2b547427bd983ff7adb41b56005a77d5b6b304ad60db60

Contents?: true

Size: 808 Bytes

Versions: 3

Compression:

Stored size: 808 Bytes

Contents

Feature: User Logging out

  Logging out of the system as an admin user

  Scenario: Logging out successfully
    Given a configuration of:
    """
      ActiveAdmin.setup do |config|
        config.logout_link_method = :get
      end
    """
    And I am logged in
    When I go to the dashboard
    Then I should see the element "a[data-method='get']:contains('Logout')"
    And I follow "Logout"
    And I should see "Login"

  Scenario: Logging out sucessfully with delete method
    Given a configuration of:
    """
      ActiveAdmin.setup do |config|
        config.logout_link_method = :delete
      end
    """
    And I am logged in
    When I am on the dashboard
    Then I should see the element "a[data-method='delete']:contains('Logout')"
    And I follow "Logout"
    And I should see "Login"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-rails-1.7.2 features/users/logging_out.feature
activeadmin-rails-1.7.1 features/users/logging_out.feature
activeadmin-rails-1.7.0 features/users/logging_out.feature