[rspec-users] RSpec 0.8.2 pain, missing spec/rails?

aslak hellesoy aslak.hellesoy at gmail.com
Wed May 2 12:49:34 EDT 2007


On 5/2/07, Morten <lists at kikobu.com> wrote:
> aslak hellesoy wrote:
> >>> Did you read http://rspec.rubyforge.org/upgrade.html?
> >> Yeah, the converter didn't work properly. I'll give it a shot and
> >> manually correct the specs.
> >>
> >
> > If you tell us what you did and how it didn't work we may be able to improve it.
>
> In these 2 conversions the parenthesis are wrong:
>
> Before:
> controller.should_redirect_to
> 'http://not_existing_domain_for_novalis.test.host/404.html'
>
> After:
> controller.should
> be_redirect_to('http:)//not_existing_domain_for_novalis.test.host/404.html'
>
> Before:
> controller.should_redirect_to :subdomain => account.subdomain,
> :controller => 'authenticate', :action => 'login'
>
> After:
> controller.should be_redirect_to(:subdomain)=> account.subdomain,
> :controller => 'authenticate', :action => 'login'
>

Thanks a bunch. Another bug in the translator is plugged on trunk.

Cheers,
Aslak

> Br,
>
> Morten
>
>
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list