Sha256: 54dd126bc0a8ff53760e6d72610b3d960ede108218c6c89ee3f13dad262ab8a7
Contents?: true
Size: 240 Bytes
Versions: 5
Compression:
Stored size: 240 Bytes
Contents
require 'spec_helper' describe Numeric do it 'should know 0 is false and 1 is true' do expect(0.to_bool).to be false expect(0.0.to_bool).to be false expect(0.1.to_bool).to be true expect(1.to_bool).to be true end end
Version data entries
5 entries across 5 versions & 1 rubygems