Sha256: e60d319cf7692a21f9012b7ef8a36d4b921b85beb485fd0bee27a03ac78d8378
Contents?: true
Size: 377 Bytes
Versions: 10
Compression:
Stored size: 377 Bytes
Contents
describe ChatWork::Converter do include ChatWork::Converter describe "#boolean_to_integer" do subject { boolean_to_integer(value) } using RSpec::Parameterized::TableSyntax where(:value, :expected) do false | 0 true | 1 0 | 0 1 | 1 nil | nil end with_them do it { should eq expected } end end end
Version data entries
10 entries across 10 versions & 1 rubygems