Sha256: 85264e98c2e1479abe6a90eb1aa76cbc610b5de8c6527a60e668cdd75039a787

Contents?: true

Size: 1.95 KB

Versions: 13

Compression:

Stored size: 1.95 KB

Contents

Feature: I can easily create models from my factories

  As a pickle user
  I want to be able to leverage my factories
  So that I can create models quickly and easily in my features
  
  Scenario: I create a fork, and see if it looks right
    Given a fork exists
    Then the fork should not be completely rusty
    
  Scenario: I create a fork, and see if it looks right
    Given a fork exists with name: "Forky"
    Then a fork should exist with name: "Forky"
    And the fork should not be completely rusty
    
  Scenario: I create some forks, and some tines
    Given a fork: "one" exists
    And a tine exists with fork: fork "one"
    And another tine exists with fork: fork "one"
    
    And a fancy fork exists
    And a tine exists with fork: the fancy fork
    
    Then the first tine should be tine of the fork: "one"
    And the 2nd tine should be tine of fork: "one"
    And the last tine should be tine of the fancy fork

    Then the first tine should be in fork "one"'s tines
    And the 2nd tine should be in fork: "one"'s tines
    And the last tine should be in the fancy fork's tines
    And the fancy fork should be the last tine's fork
    
    But the first tine should not be in the fancy fork's tines
    And the last tine should not be in fork "one"'s tines
    And the fancy fork should not be the first tine's fork
    
  Scenario: I create a fork with a tine, and find the tine by the fork
    Given a fork exists
    And a tine exists with fork: the fork
    
    Then a tine should exist with fork: the fork
  
  Scenario: create a tine with fork refs in a table
    Given 2 forks exist
    And the following tines exist:
      | fork         |
      | the 1st fork |
      | the 2nd fork |
    Then the 1st tine should be in the 1st fork's tines
    And the 2nd tine should be in the 2nd fork's tines

  Scenario: I create fork via a mapping
    Given killah fork exists
    Then the fork should be fancy
    And the fancy fork: "of cornwood" should be fancy

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
pickle-0.2.8 features/pickle/create_from_factory_girl.feature
pickle-0.2.7 features/pickle/create_from_factory_girl.feature
pickle-0.2.6 features/pickle/create_from_factory_girl.feature
pickle-0.2.5 features/pickle/create_from_factory_girl.feature
pickle-0.2.4 features/pickle/create_from_factory_girl.feature
pickle-0.2.3 features/pickle/create_from_factory_girl.feature
pickle-0.2.2 features/pickle/create_from_factory_girl.feature
kbaum-pickle-0.2.1.4 features/pickle/create_from_factory_girl.feature
kbaum-pickle-0.2.1.3 features/pickle/create_from_factory_girl.feature
kbaum-pickle-0.2.1.2 features/pickle/create_from_factory_girl.feature
kbaum-pickle-0.2.1.1 features/pickle/create_from_factory_girl.feature
pickle-0.2.1 features/pickle/create_from_factory_girl.feature
pickle-0.2.0 features/pickle/create_from_factory_girl.feature