[rspec-users] Question about 'its' method in rspec2

petr.blaho petr.blaho at gmail.com
Tue May 11 04:33:38 EDT 2010


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


More information about the rspec-users mailing list