search for: contact_controller_test

Displaying 2 results from an estimated 2 matches for "contact_controller_test".

2006 Feb 28
0
Sending email in functional test times out
...point..but the test says it times out. config.action_mailer.delivery_method is set to :test in config/environments/test.rb, not sure why it would be ignoring that. If I take out my email config from environment.rb, the test runs fine. Here''s the exception: Loaded suite test/functional/contact_controller_test Started ./usr/local/lib/ruby/1.8/timeout.rb:54:in `new'': execution expired (Timeout::Error) from /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open'' from /usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout'' from /usr/local/lib/ruby/1.8/timeout....
2006 Nov 04
0
use_transactional_fixtures= and Test::Rails
...I change test_helper.rb to include test/rails and the class from Test::Unit::TestCase to Test::Rails::TestCase, I get this: ./test/functional/../test_helper.rb:19: undefined method `use_transactional_fixtures='' for Test::Rails::TestCase:Class (NoMethodError) from ./test/functional/contact_controller_test.rb:1 from /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 from /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 I understand that this can be the result of a missing gem, so I wrote a quick program to find unique required files...