Can you try these and tell us which ones pass and which ones fail?

rake spec
rake spec:models
script/spec spec
script/spec spec/models
script/spec spec/models -r
script/spec spec/models/phase_spec.rb
script/spec spec/models/phase_spec.rb -r
ruby spec/models/phase_spec.rb
ruby spec/models/phase_spec.rb -r

Thanks,
David


Ahhh, Mr. Chelimsky himself ;)

rake spec fails with:
Date.today = 2008-07-03
self.start_date = 0825-09-19
self.end_date = 2008-07-04

rake spec:models fails with:
Date.today = 2008-07-03
self.start_date = 0825-09-19
self.end_date = 2008-07-04

script/spec spec passes with:
Date.today = 2008-07-03
self.start_date = 2008-06-28
self.end_date = 2008-07-04

script/spec spec/models passes with:
Date.today = 2008-07-03
self.start_date = 2008-06-28
self.end_date = 2008-07-04

script/spec spec/models -r fails altogether with:
optparse.rb:451:in `parse': missing argument: -r (OptionParser::MissingArgument)

script/spec spec/models/phase_spec.rb passes with:
Date.today = 2008-07-03
self.start_date = 2008-06-28
self.end_date = 2008-07-04

script/spec spec/models/phase_spec.rb -r fails with the MissingArgument exception

ruby spec/models/phase_spec.rb passes with:
Date.today = 2008-07-03
self.start_date = 2008-06-28
self.end_date = 2008-07-04

ruby spec/models/phase_spec.rb -r fails with the MissingArgument exception
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to