#1217 ✓resolved
Postmodern

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages