Sha256: eb867e92c4fa19001e962ed5b91858725f916a3f9f6a897db621b38aeacaa9be
Contents?: true
Size: 359 Bytes
Versions: 74
Compression:
Stored size: 359 Bytes
Contents
require "spec_setup" require "insist" describe Insist::Enumerables do subject do Insist.new { [1,2,3] } end describe "#include?" do it "should be OK if the #value includes an item" do subject.include?(2) end it "should fail if the #value does not include an item" do insist { subject.include?(4) }.fails end end end
Version data entries
74 entries across 70 versions & 18 rubygems