Re: [rspec-users] Can't access actions of a singular nested resource

2008-08-01 Thread Bastien
Thanks for your help Aslak, but I still didn't manage to make it pass >> get :show, :id=>"34" it sends me this error then : No route matches {:action=>"show", :controller=>"surveys/report", :id=>"34"} >> Try rake routes, and also try to spec the routing in the associated >> routing_spec.rb. and

Re: [rspec-users] Can't access actions of a singular nested resource

2008-08-01 Thread aslak hellesoy
On Fri, Aug 1, 2008 at 10:41 AM, Bastien <[EMAIL PROTECTED]> wrote: > Thanks for your help Aslak, but I still didn't manage to make it pass > >>> get :show, :id=>"34" > > it sends me this error then : No route matches > {:action=>"show", :controller=>"surveys/report", :id=>"34"} > >>> Try rake rout

[rspec-users] Rails views have_tag with html inside

2008-08-01 Thread Steve
Is there a way to use "have_tag" to match tags with HTML content? I want this: response.should have_tag('span#customer_address', '123 Main St.Anytown, FL 32803') and that is what renders in the view, but it won't match because have_tag ignores the contained ''. I know that have_tag is based

[rspec-users] cheat install_rspec_rails -x

2008-08-01 Thread Zach Dennis
Should this be valuable for anyone else, I've forked cheat (hoping for it to get pulled) to allow cheat to be used for execution. For example: cheat install_rspec_rails --execute OR cheat install_rspec_rails --x http://www.continuousthinking.com/2008/8/1/cheat-execute -- Zach Dennis http://www.