Hi there,
is ''its'' method implemented in rspec2?
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
David Chelimsky
2010-May-13 00:53 UTC
[rspec-users] Question about ''its'' method in rspec2
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