Sha256: 687d3264ed3117468006c73dce83eaa79138f3b02051317dc837276edbc8246c
Contents?: true
Size: 380 Bytes
Versions: 8
Compression:
Stored size: 380 Bytes
Contents
Spec::Matchers.define :have_same_contents_as do |expected_file| diffable match do |actual_root_path| puts expected = File.read(expected_file) false end description do "match the file in the two projects" end end Spec::Matchers.define :have_same_basename do |expected| match do |actual| File.basename(expected) == File.basename(actual) end end
Version data entries
8 entries across 8 versions & 2 rubygems