features/sets_validations.feature in valle-1.0.1 vs features/sets_validations.feature in valle-1.1.0
- old
+ new
@@ -4,11 +4,11 @@
And I cd to "testapp"
And I add "factory_girl_rails" as a dependency
And I add "valle" from this project as a dependency
And I successfully run `bundle install`
And I successfully run `bundle exec rails g model User name:string`
- And I successfully run `bundle exec rake db:migrate --trace`
+ And I successfully run `bundle exec rake db:migrate -v`
@disable-bundler
Scenario: Using Valle automatically sets validations
When I write to "test/unit/user_test.rb" with:
"""
@@ -25,7 +25,7 @@
assert !@user.save
assert_equal 1, @user.errors.count
end
end
"""
- When I successfully run `bundle exec rake test --trace`
+ When I successfully run `bundle exec rake test -v`
Then the output should contain "1 runs, 2 assertions, 0 failures, 0 errors"