Sha256: 084d1483526a330d8ebf174c0b28b2784d1a14752fe16ce1f64996a64513b043
Contents?: true
Size: 497 Bytes
Versions: 50
Compression:
Stored size: 497 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::RedHat describe 'Serverspec yumrepo matchers of Red Hat family' do describe 'exist' do describe yumrepo('epel') do it { should exist } end describe yumrepo('invalid-repository') do it { should_not exist } end end describe 'be_enabled' do describe yumrepo('epel') do it { should be_enabled } end describe yumrepo('invalid-repository') do it { should_not be_enabled } end end end
Version data entries
50 entries across 48 versions & 1 rubygems