On May 11, 2010, at 3:33 AM, petr.blaho wrote:

> Hi there,
> 
> is 'its' method implemented in rspec2?

Not yet, but coming soon:

http://github.com/rspec/rspec-core/issues#issue/22

Cheers,
David

> I use rspec2 with rails3 and want to use syntax like in this example:
> 
>  describe Array do
>    subject { Array.new(4) }
>    its(:length) { should == 4 }
>  end
> 
> Is it possible?
> 
> With regards
> Petr Blaho
> _______________________________________________
> 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