Sha256: 5b9658689c6bec676d08861520c33c809cdf7c634d16ecf5c237733ea3858686

Contents?: true

Size: 968 Bytes

Versions: 5

Compression:

Stored size: 968 Bytes

Contents

Feature: Use back button for returning to the owner of the masquerade action.
  In order to back to the owner user
  As an masquerade user
  I want to be able to press a simple button on the page

  Scenario: Use back button with cache
    Given I logged in
    And devise masquerade configured to use cache
    And I have a user for masquerade

    When I am on the users page
    And I login as one user
      Then I should be login as this user
      And I should be masqueraded by owner user

    When I press back masquerade button
      Then I should be login as owner user

  Scenario: Use back button with session
    Given I logged in
    And devise masquerade configured to use session
    And I have a user for masquerade

    When I am on the users page
    And I login as one user
      Then I should be login as this user
      And I should be masqueraded by owner user

    When I press back masquerade button
      Then I should be login as owner user

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
devise_masquerade-2.1.3 features/back.feature
devise_masquerade-2.1.2 features/back.feature
devise_masquerade-2.1.0 features/back.feature
devise_masquerade-2.0.3 features/back.feature
devise_masquerade-2.0.2 features/back.feature