Please include your test that is failing here. Most probably the issue is that you are expecting a object somewhere in the test, but it is nil instead.
Chirag http://sumeruonrails.com On Tue, Jul 5, 2011 at 8:54 AM, Yennie <[email protected]> wrote: > Hi, > > I have an error when i use rake test, plz help > > akyen@ubuntu:~/Desktop/p$ rake test > WARNING: Global access to Rake DSL methods is deprecated. Please > include > ... Rake::DSL into classes and modules which use the Rake DSL > methods. > WARNING: DSL method Pictographs::Application#task called at /usr/local/ > lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/application.rb: > 215:in `initialize_tasks' > /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.7/lib/ > active_support/whiny_nil.rb:48:in `method_missing': undefined method > `should_not_be_valid' for nil:NilClass (NoMethodError) > > > Thank you very much > > Yennie > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

