Sha256: 6123a2854f8f552d938310e625b335ceb39ec81514c3780e58c29f51a88e5bc1
Contents?: true
Size: 254 Bytes
Versions: 31
Compression:
Stored size: 254 Bytes
Contents
RSpec::Matchers.define :be_enabled do match do |subject| if subject.class.name == 'Serverspec::Type::Service' subject.enabled?(@level) else subject.enabled? end end chain :with_level do |level| @level = level end end
Version data entries
31 entries across 31 versions & 2 rubygems