Sha256: cd1cfc6c381ee5238b185117b06f79b2285d5c5a582d9ca8f818a96464a6f8c4

Contents?: true

Size: 1.71 KB

Versions: 3

Compression:

Stored size: 1.71 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

    And the fork should be the tine's fork

  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

3 entries across 3 versions & 1 rubygems

Version Path
pickle-0.1.23 features/pickle/create_from_factory_girl.feature
pickle-0.1.22 features/pickle/create_from_factory_girl.feature
pickle-0.1.21 features/pickle/create_from_factory_girl.feature