Ruby on Rails Saturday, April 28, 2012

[SOLVED] As I am now using Rails 3.2.3 , I should get rid of the gem
'turn' in my Gemfile ( group test )

group :test do
# Pretty printed test output
gem 'turn', :require => false <= should be deleted !!!
gem 'minitest'

thanks to myself

On Apr 28, 5:09 pm, Erwin <yves_duf...@mac.com> wrote:
> 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'

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment