Sha256: 0987215467599327227212f8d1fe823a7167ef02b08606f269596db2264be590
Contents?: true
Size: 219 Bytes
Versions: 3
Compression:
Stored size: 219 Bytes
Contents
require "spec_helper" describe TrueClass do describe "#to_i" do it "returns 1" do true.to_i.should == 1 end end end describe FalseClass do it "returns 0" do false.to_i.should == 0 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
squealer-2.1.0 | spec/squealer/boolean_spec.rb |
squealer-1.2.0 | spec/squealer/boolean_spec.rb |
squealer-1.0.2 | spec/squealer/boolean_spec.rb |