Sha256: 833a1a62121ee386c273825d1ea59928eb9f51d14225b398442e922088a20f7d
Contents?: true
Size: 339 Bytes
Versions: 19
Compression:
Stored size: 339 Bytes
Contents
require 'spec_helper' require 'volt/extra_core/blank' describe Object do it 'should add blank? to all objects' do expect(Object.new.blank?).to eq(false) expect(nil.blank?).to eq(true) end it 'should add present? to all objects' do expect(Object.new.present?).to eq(true) expect(nil.present?).to eq(false) end end
Version data entries
19 entries across 19 versions & 1 rubygems