Sha256: a1c3b9e81688225bb5a3820dc3c76aca7a21e07175aced65b180b69e6b2faebe
Contents?: true
Size: 342 Bytes
Versions: 70
Compression:
Stored size: 342 Bytes
Contents
require "spec_setup" require "insist" describe Insist::Comparators do subject do reject { [1,2,3] } end describe "#include?" do it "should fail if the include? returns true" do insist { subject.include?(2) }.fails end it "should succeed if include? returns false" do subject.include?(4) end end end
Version data entries
70 entries across 66 versions & 18 rubygems