Sha256: 02104db843222170febeadaf4a5c0aa0fb03005b38fa77d9b86a8dacada9da44
Contents?: true
Size: 693 Bytes
Versions: 1
Compression:
Stored size: 693 Bytes
Contents
Feature: Using models for object relational management In order manipulate data using ruby objects A user should be able to generate a new model, migrate up, and create records Scenario: generate model and insert two rows Given a working directory When I use the gigantron command to generate a project named "foo" And I configure an sqlite3 database named "db" And I use script/generate to make a model named "bar" And I create simple migration for the model "bar" And I use rake to migrate the database up And I create 2 "bar" records in the database Then a file named "foo/db/db.sqlite3" is created And 2 "bar" records are saved to the database
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
michaelbarton-gigantron-0.1.4 | features/object_relational_management.feature |