Sha256: 28a182b5ceeac59421a5010a0acce527313010c49864e76a0520dde09329ce39

Contents?: true

Size: 1.47 KB

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
pickle-0.1.20 features/pickle/create_from_factory_girl.feature
pickle-0.1.19 features/pickle/create_from_factory_girl.feature
pickle-0.1.18 features/pickle/create_from_factory_girl.feature
pickle-0.1.17 features/pickle/create_from_factory_girl.feature
pickle-0.1.16 features/pickle/create_from_factory_girl.feature