Sha256: a01343a827d663a51edab9341dbac92265d7096aea345125ac7dbc81fde38b13
Contents?: true
Size: 423 Bytes
Versions: 10
Compression:
Stored size: 423 Bytes
Contents
RSpec.describe Flipper::Expressions::Boolean do describe "#call" do [true, 'true', 1, '1'].each do |value| it "returns a true for #{value.inspect}" do expect(described_class.call(value)).to be(true) end end [false, 'false', 0, '0', nil].each do |value| it "returns a true for #{value.inspect}" do expect(described_class.call(value)).to be(false) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems