Sha256: a459620b457e2d532c51d763e76af27568fbc1ad313c1f803733b92e0e204751

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

require 'pathname'
require 'rspec/expectations'

RSpec::Matchers.define :be_located_under do |expected|
  match do |actual|
    Pathname.new(actual).fnmatch? File.join(expected, '**')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
given_filesystem-0.2.0 spec/support/matchers/file_location_matcher.rb