[rspec-users] Question about 'its' method in rspec2
David Chelimsky
dchelimsky at gmail.com
Wed May 12 20:53:27 EDT 2010
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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list