features/adds_validators.feature in valle-0.0.1 vs features/adds_validators.feature in valle-0.0.2

- old
+ new

@@ -9,10 +9,12 @@ """ class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| t.string :name + t.text :bio + t.integer :age end end end """ When I successfully run `bundle exec rake db:migrate --trace` @@ -21,15 +23,17 @@ class User < ActiveRecord::Base end """ @disable-bundler - Scenario: generate a rails 3 application and use factory definitions + Scenario: generate a rails 3 application and try out automatically injected validations When I write to "test/factories.rb" with: """ FactoryGirl.define do factory :user do name "John" + bio "A nice write up about this guy" + age 22 end end """ When I write to "test/unit/user_test.rb" with: """