[rspec-devel] [ rspec-Bugs-8238 ] spec route generation in Rails trunk

noreply at rubyforge.org noreply at rubyforge.org
Tue Jan 30 12:19:59 EST 2007


Bugs item #8238, was opened at 2007-01-29 01:47
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=8238&group_id=797

Category: rails plugin
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 3
Submitted By: Chris Anderson (jchris)
Assigned to: Nobody (None)
Summary: spec route generation in Rails trunk

Initial Comment:
Route-generation in specs is broken as of Rails trunk r6062. With Rails r6061, all specs pass, but in 6062 I get a trace like this every time my controller generates a route:

TypeError in 'Requesting /artists/1 using PUT should redirect to the artist'
can't convert Fixnum into String
(eval):19:in `artist_url'
/Users/jchris/ruby/rails/grabbit/config/../app/controllers/artists_controller.rb:59:in `update'
/Users/jchris/ruby/rails/grabbit/config/../app/controllers/artists_controller.rb:56:in `update'
./spec/controllers/artists_controller_spec.rb:267:in `do_update'
./spec/controllers/artists_controller_spec.rb:287:

The issue affects both RSpec and RSpec on Rails at revision 1359 and 1440. Parallel Test::Unit tests aren't showing any signs of breakage.


----------------------------------------------------------------------

>Comment By: Chris Anderson (jchris)
Date: 2007-01-30 17:19

Message:
turns out to be an issue with the spec resource generator

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=8238&group_id=797


More information about the rspec-devel mailing list