Sha256: 1c95900fd590b52426e5a2c78b7ccd9c3a1dc096ddd92afa1bcdd0656bbea171
Contents?: true
Size: 364 Bytes
Versions: 5
Compression:
Stored size: 364 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(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
5 entries across 5 versions & 1 rubygems