Sha256: f442451cdfabded75df930314d76cbeaf901aa5dd5b6c785694dc56b2d201fa0
Contents?: true
Size: 491 Bytes
Versions: 6
Compression:
Stored size: 491 Bytes
Contents
require 'spec_helper' set :os, :family => '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
6 entries across 6 versions & 1 rubygems