[rspec-devel] Removing context/specify: what will "it do" to spec names?

David Chelimsky dchelimsky at gmail.com
Sat Apr 14 01:02:56 EDT 2007


On 4/13/07, Ian Dees <undees at gmail.com> wrote:
> Quoth Aslak:
>
> > Contexts are gone, and so are specify (ok, they are around a little bit longer for compatibility).
>
> context / specify are going to be deleted entirely?  I thought they
> were just going to be preserved as an alternative to describe / it.
>
> I don't mind converting scripts, but what will this do to
> autogenerated spec names?  For example:
>
> context "Foo"
>   specify do
>     @foo.bar.should == :baz
>   end
> end
>
> would become:
>
> describe "Foo"
>   it do
>     @foo.bar.should == :baz
>   end
> end
>
> "it do?"  Doesn't feel right to me.

It don't?

Seriously - we'll probably keep specify around unless somebody comes
up w/ a better word that "it".

> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the rspec-devel mailing list