Sha256: 14dfb677c712a7c2cee0de72de6d086f45b1ab645289caed50b886ea050014f8
Contents?: true
Size: 345 Bytes
Versions: 37
Compression:
Stored size: 345 Bytes
Contents
describe Card::Set::Abstract::Utility do describe "#params_to_i" do subject do Card["A"].with_set(described_class).param_to_i "offset", 0 end it "returns value from params" do Card::Env.params["offset"] = "5" is_expected.to eq(5) end it "returns default" do is_expected.to eq(0) end end end
Version data entries
37 entries across 37 versions & 1 rubygems