Sha256: 14333d52f458d6fe107dad53281bde26fb3dc8bba6dc686f2906c2f3c0b9bbcb
Contents?: true
Size: 373 Bytes
Versions: 18
Compression:
Stored size: 373 Bytes
Contents
RSpec::Matchers.define :be_mounted do match do |path| if path.respond_to?(:mounted?) path.mounted?(@attr, @only_with) else backend.check_mounted(example, path, @attr, @only_with) end end chain :with do |attr| @attr = attr @only_with = false end chain :only_with do |attr| @attr = attr @only_with = true end end
Version data entries
18 entries across 18 versions & 1 rubygems