
majority of dm-rails specs fail, due to a common error
Reported by Postmodern | March 8th, 2010 @ 02:14 AM | in 1.0.0
I'm noticing a common error across most specs in the generated dm_rails3_app.
$ rake spec
.
.
.
15) PeopleController DELETE destroy redirects to the people list
Failure/Error: delete :destroy, :id => "1"
undefined method `described_class' for PeopleController DELETE destroy:Class
# /home/hal/.bundle/ruby/1.8/gems/rspec-rails-2.0.0.beta.1/lib/rspec/rails/example/controller_example_group.rb:18:in `app'
# /home/hal/.bundle/ruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/testing/integration.rb:329:in `open_session'
# /home/hal/.bundle/ruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/testing/integration.rb:303:in `reset!'
# /home/hal/.bundle/ruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/testing/integration.rb:309:in `delete'
# (eval):3:in `delete'
# ./spec/controllers/people_controller_spec.rb:120
# ./spec/controllers/people_controller_spec.rb:3
.
.
.
Finished in 2.102153 seconds
21 examples, 16 failures, 1 pending
Comments and changes to this ticket
-
Martin Gamsjaeger (snusnu) March 8th, 2010 @ 11:15 AM
- State changed from new to unconfirmed
I just generated a fresh edge app and the only rspec error i get is this: http://pastie.org/859826 . Granted, the app still doesn't work out of the box with the default sqlite3 db (it does if you change your database.yml to use mysql instead), but that's the only rspec related error I got.
-
Martin Gamsjaeger (snusnu) March 30th, 2010 @ 09:19 AM
- State changed from unconfirmed to resolved
I'm marking this resolved for now. There are still errors in the default scaffolded specs, but I think these are related to rspec and/or our sqlite support in some way. Please open a new ticket for any specific problems with the rspec tests.
-
Martin Gamsjaeger (snusnu) March 31st, 2010 @ 04:09 PM
- Milestone set to 1.0.0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »