Displaying 1 result from an estimated 1 matches for "iba_jornais".
2012 Jan 27
3
How to test the model dependence ?
...should has_many :tasks, :through => :workflow
#should has_one :timeline
#should has_many :timeline_items, :through => :timeline
end
The shoul "belong_to" is working normally but when running "rake test"
appears the following error:
$ Rake test
/ home / guilhermec / iba_jornais / test / unit / procedure_test.rb: 5:
in `‘: undefined method `has_many’ for ProcedureTest:Class
(NoMethodError)
from /home/guilhermec/iba_jornais/test/unit/procedure_test.rb:3:in `<top
(required)>’
from
/home/guilhermec/.rvm/gems/ruby-1.9.2-p180@iba-jornais/gems/activesupport-3.1.3/lib/activ...