Sha256: ffd303d399dc20283814599cf51cee216d46057e7685c9ba9b1ce56c07408411
Contents?: true
Size: 335 Bytes
Versions: 18
Compression:
Stored size: 335 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 be_false expect(nil.blank?).to be_true end it 'should add present? to all objects' do expect(Object.new.present?).to be_true expect(nil.present?).to be_false end end
Version data entries
18 entries across 18 versions & 1 rubygems