Displaying 2 results from an estimated 2 matches for "campaigncontrollertest".
2007 Jun 15
3
Error when running functional test - Errno::ENOENT
Hello,
I''m getting an error when running functional tests as follows, using
Mac OSX 10.4.9, Rails 1.2.3 .
When I run:
ruby test/functional/campaign_controller_test.rb
I get this error:
Started
E
Finished in 0.027402 seconds.
1) Error:
test_should_get_icon_data(CampaignControllerTest):
Errno::ENOENT: No such file or directory - /usr/src/projects/myproject/
config/../test/fixtures/campaings
/sw/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
fixtures.rb:344:in `open''
/sw/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
fixtures.rb:344:...
2006 Feb 04
0
date_select
...2006", "start_date(2i)"=>"1", "start_date(3i)"=>"26",
"end_date(1i)"=>"2006", "end_date(2i)"=>"1"}}
The Controller -
campaign.update_attributes(params[:campaign])
generates this -
test_campaign_edit(CampaignControllerTest):
ActiveRecord::MultiparameterAssignmentErrors: 2 error(s) on ariessignment of
multiparameter attributes
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1697:in
`execute_callstack_for_multiparameter_\attributes''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.1...