Sha256: ad59a34f72fce9debe11eb797a2c839f7df10f92932c375b1caee6411fba6a39
Contents?: true
Size: 507 Bytes
Versions: 20
Compression:
Stored size: 507 Bytes
Contents
require 'spec_helper' RSpec.configure do |c| c.os = 'RedHat' end 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
20 entries across 20 versions & 1 rubygems