Hi,
I''m running Rails 1.2.5 with rspec 1.0.8.
When i runned autotest first time, it complained about this line.
#include ActionView::Helpers::JavaScriptMacrosHelper
in vendor/plugins/rspec_on_rails/lib/spec/rails/dls/behaviour/helper.rb
...I commented it out, then I got another error about this line, so I
also commented this out.
#Test::Unit.run = true
in vendor/plugins/rspec_on_rails/lib/spec/rails/rails.rb
Now when I run autotest i get third error which i cannot get ride off :(
Please any help I appreciate it...Thanks in advance...
-------------------------------------------------------
$autotest
1)
NameError in ''User should be valid''
undefined local variable or method `method_name'' for [RSpec
example]:#<Class:0x189a7b4>
/Library/Ruby/Gems/gems/actionpack-1.13.5.7919/lib/action_controller/test_process.rb:470:in
`method_missing''
/Library/Ruby/Gems/gems/activerecord-1.15.5.7919/lib/active_record/fixtures.rb:572:in
`use_transactional_fixtures?''
/Library/Ruby/Gems/gems/activerecord-1.15.5.7919/lib/active_record/fixtures.rb:585:in
`setup''
/Users/jamal/Documents/RubyonRailsApps/rspec/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/model.rb:12:in
`before_eval''
script/spec:4:
Finished in 0.016046 seconds
1 example, 1 failure
-------------------------------------------------------
--
Posted via http://www.ruby-forum.com/.