Sha256: 1d4138d18458d6551d2693d50b056fc3e56613a9676e24ea3d131e5593be691a
Contents?: true
Size: 305 Bytes
Versions: 10
Compression:
Stored size: 305 Bytes
Contents
require 'spec_helper' describe BooleanMetric do specify { subject.convert(1).should == true } specify { subject.convert('abc').should == true } specify { subject.convert({}).should == true } specify { subject.convert(false).should == false } specify { subject.convert(nil).should == false } end
Version data entries
10 entries across 10 versions & 1 rubygems