Sha256: 53880e6343132e29409193ea137431904b60d2102c90864015243709e6f3f0ac
Contents?: true
Size: 1.61 KB
Versions: 1
Compression:
Stored size: 1.61 KB
Contents
Feature: I can easily create models from my blueprints As a plain old AR user I want to be able to create models with fields So that I can create models quickly and easily in my features Scenario: I create a user, and see if it looks right Given a user exists with name: "Fred" Then the user should not have a status Scenario: I create a user, and see if it looks right Given a user exists with name: "Fred", status: "crayzee" Then a user should exist with name: "Fred" And a user should exist with status: "crayzee" But a user should not exist with name: "Wilma" Scenario: I create a user via a mapping Given I exist with status: "pwned", name: "fred" Then I should have a status And the user: "me" should have a status Scenario: I create positive and negative users Given a user exists with name: "Fred", attitude_score: +5.42 And another user exists with name: "Ethel", attitude_score: -1.46 Then 2 users should exist And the 1st user should be a positive person And the 2nd user should not be a positive person Scenario: create and find using tables Given the following users exist: | name | status | | Jim | married | | Ethel | in a relationship with x | Then the following users should exist: | name | | Jim | | Ethel | And the following users should exist: | status | | married | | in a relationship with x | And the 1st user should be the 3rd user And the 2nd user should be the last user
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pickle-0.2.0 | features/pickle/create_from_active_record.feature |