Project

General

Profile

#<NoMethodError: You have a nil object when you didn't expect it

Added by jan yu about 12 years ago

#<NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.

in unit test,how can i fixed it?