coderxin
8/12/2015 - 9:51 AM

model_macros_error.txt

Failures:

  1) Pricing should require circle_vehicle_id to be set
     Failure/Error: it { is_expected.to validate_presence_of(field) }
       Expected errors to include "muss ausgefüllt werden" when circle_vehicle_id is set to nil,
       got no errors
     # ./spec/support/model_macros.rb:9:in `block (2 levels) in validates_presence_of'
     # ./spec/spec_helper.rb:114:in `block (3 levels) in <top (required)>'
     # /Users/andrew/.rvm/gems/ruby-2.2.2@car_share/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'
     # ./spec/spec_helper.rb:114:in `block (2 levels) in <top (required)>'

Finished in 9 minutes 39 seconds (files took 15.48 seconds to load)
6466 examples, 1 failure, 2 pending

Failed examples:

rspec ./spec/models/pricing_spec.rb:1 # Pricing should require circle_vehicle_id to be set