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
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
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
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.