[rspec-users] Problems with RESTfully generated helpers

Lance Carlson lancecarlson at gmail.com
Thu Aug 9 20:11:49 EDT 2007


Were you able to come up with any solutions?

On 8/8/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> On 8/8/07, Lance Carlson <lancecarlson at gmail.com> wrote:
> > Awesome! Thank you! :)
>
> Don't thank me yet. I've spent some time trying to track this down and
> I've found my way into some methods in routing.rb that are dynamically
> generated (and so you can't )(*&)(*& read them to debug them quite so
> easily) that call the methods (in your case) label_id_value and
> id_value (being the artist id). I have no idea yet where those two
> methods get generated. Once I do, then we can stub them. Unfortunately
> I can't really spend any more time on this right now (though I'd love
> to solve it).
>
> In the mean time, you'll just have to use the parameters if you want
> the specs to work with the same code with which your app works.
>
>
> >
> > On 8/8/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> > > On 8/8/07, Lance Carlson <lancecarlson at gmail.com> wrote:
> > > > I just visited the action in my browser and i don't get any errors. I
> > > > am also running on edge rails as the application relies on
> > > > ActiveResource. Can you show me the code you created?
> > >
> > > OK - I've created a small project and am able to reproduce the
> > > behaviour you're describing. I'll follow up when learn something.
> > >
> > > David
> > > _______________________________________________
> > > rspec-users mailing list
> > > rspec-users at rubyforge.org
> > > http://rubyforge.org/mailman/listinfo/rspec-users
> > >
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list