maeshimaの日記

メモ書きです

itsメソッド

これはべんり!

describe Array do
  before do
    @ary = [1, 2, 3]
  end
  subject{@ary}
  its(:size){should == 3}
end