On 7/11/07, Ashley Moran <[EMAIL PROTECTED]> wrote:
> I've noticed that I phrase a lot of shared behaviours in plural, eg
>
>    describe "All payment_details views"
>
> How about a "they" alias to "it" so you can write
>
>    describe "All payment_details views", :shared => true do
>      they "should have a card number field" do
>        # ...
>      end
>    end
>
> WDYT?
>

I'm a little worried that If we add this alias, people are going to
want umpteen other aliases like it_should etc.

It should be easy for you to just alias that method locally in your project

Aslak

> Ashley
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to