Displaying 4 results from an estimated 4 matches for "integration_test".
2007 Jan 17
8
Mocha Mock''s hanging on after test run?
...d_routes
end
The print when test_zzz is run gives this:
#<ActionController::Routing::RouteSet::NamedRouteCollection:0x14e0da8
@mocha=#<Mocha::Mock:0x2333504 @__mock_name=nil,
@expectations=[#<Mocha::Expectation:0x2333158 @count=0,
@parameter_block=nil,
@backtrace=["test/controller/integration_test.rb:146:in
`test_reset_bang_doesn_reinstall_named_routes''",
"/usr/local/lib/ruby/1.8/test/unit/testcase.rb:72:in `__send__''",
"/usr/local/lib/ruby/1.8/test/unit/testcase.rb:72:in `run''",
"/usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `r...
2007 Jul 26
2
rspec_resource error
...install instructions"
here [1]. However,
there doesn''t seem to be any mention of the rspec_resource generator?.
When I run script/generate I get the following:
Installed Generators
Plugins: authenticated, rspec, rspec_controller, rspec_model,
rspec_scaffold
Builtin: controller, integration_test, mailer, migration, model, observer,
plugin, resource, scaffold, scaffold_resource, session_migration,
web_service
Could anyone spread any light as to why rspec_resource isn''t being
installed? Sorry for the simple question but I can''t seem to find any help
on the rspec rubyforg...
2006 Mar 07
0
Storing sessions files elsewhere on EdgeRails
...logs.
(MacOS X, with Locomotive.)
When I start the console, I get a new error:
Loading development environment.
./script/../config/../config/environment.rb:47:NameError:
uninitialized constant ActionController
./script/../config/../config/../vendor/rails/actionpack/lib/action_controller/integration_test.rb:16:NameError:
uninitialized constant ActionController::Integration::Session::Test
>>
Any idea?
Alain
2006 Dec 04
5
ruby on rails ecommerce tests are failing, but why?
i am working through the Beginning Ruby on Rails Ecommerce book and on
page 101 where it is talking about integration tests, i run
test/integration/book_test.rb and it fails giving me the following
error message:
1) Failure:
test_book_administration(BookTest)
[test/integration/book_test.rb:45:in `add_book''
test/integration/book_test.rb:11:in `test_book_administration''