Sha256: 3d9632bdb7cfa79f410694f7a4b83259a28636bfc57d1215e86291803c775f11

Contents?: true

Size: 1.06 KB

Versions: 11

Compression:

Stored size: 1.06 KB

Contents

Feature: Creating an Account
  Background: I have a User
    Given I create a user A

  Scenario: Every Holder should have a default Account
    Then User A has an Account named default

  Scenario: Creating a second Accounts with the same name for a Holder returns original account
    Given User A has an Account named default
    And I create an Account named default for User A
    Then I get the original account

  Scenario: Creating a Account with a different name
    And I create an Account named default for User A
    And I create an Account named not_default for User A
    Then I can get the default Account of User A
    Then I can get the not_default Account of User A

  Scenario: Race condition while creating account
    Given I have the same user in memory
    And I disable the account existence check on those
    When I call 'account' on both it should be possible

 Scenario: Accounts on a subclass
    Given I have a user A that inherits from an abstract class
    And I autocreate an account for inheriting user A
    Then the account of user A should be there

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
acts_as_account-3.4.2 features/account/account_creation.feature
acts_as_account-3.4.1 features/account/account_creation.feature
acts_as_account-3.4.0 features/account/account_creation.feature
acts_as_account-3.3.0 features/account/account_creation.feature
acts_as_account-3.2.3 features/account/account_creation.feature
acts_as_account-3.2.2 features/account/account_creation.feature
acts_as_account-3.2.1 features/account/account_creation.feature
acts_as_account-3.2.0 features/account/account_creation.feature
acts_as_account-3.1.2 features/account/account_creation.feature
acts_as_account-3.1.1 features/account/account_creation.feature
acts_as_account-3.1.0 features/account/account_creation.feature