I am running the unit tests according to the doc; when failing I get a
lot of error trace regarding setup_and_teardown.rb
why ? what’s missing ?
thanks for feedback
ruby -Itest test/unit/area_test.rb
Loaded Suite test,test/functional,test/performance,test/unit,test/unit/
helpers
Started at 2012-04-28 16:50:01 +0200 w/ seed 14004.
AreaTest
FAIL (0:00:00.103) test_should_not_save_area_without_name
Saved the area without a name
@ test/unit/area_test.rb:10:in block in <class:AreaTest>' /Users/yves/.rvm/gems/ruby-1.9.3-p125@rails32/gems/ activesupport-3.2.3/lib/active_support/testing/setup_and_teardown.rb: 35:in
block in run’
/Users/yves/.rvm/gems/ruby-1.9.3-p125@rails32/gems/
activesupport-3.2.3/lib/active_support/callbacks.rb:425:in
_run__2008357061900762550__setup__2421286496846222409__callbacks' /Users/yves/.rvm/gems/ruby-1.9.3-p125@rails32/gems/ activesupport-3.2.3/lib/active_support/callbacks.rb:405:in
__run_callback’
/Users/yves/.rvm/gems/ruby-1.9.3-p125@rails32/gems/
activesupport-3.2.3/lib/active_support/callbacks.rb:385:in
`_run_setup_callbacks’