Sha256: da10cc29f26cb858d55098b75597193cf6a98eb27b83fe44ed0616e33cbd7804
Contents?: true
Size: 408 Bytes
Versions: 11
Compression:
Stored size: 408 Bytes
Contents
require 'helper' describe 'Object extensions' do it 'should have #blank?' do ''.should.be.blank {}.should.be.blank [].should.be.blank nil.should.be.blank 'foo'.should.not.be.blank !{42=>'answer'}.should.not.be.blank [42].should.not.be.blank 42.should.not.be.blank end it 'should have #try' do nil.try(:succ).should.be.nil 1.try(:succ).should.equal 2 end end
Version data entries
11 entries across 11 versions & 1 rubygems