Sha256: bb793853d26aafe81a940c6b38bd4e42cd415d7ffc35db3375c667f04a357997

Contents?: true

Size: 363 Bytes

Versions: 10

Compression:

Stored size: 363 Bytes

Contents

require 'spec_helper'

RSpec.configure do |c|
  c.os = 'RedHat'
end

describe 'check_yumrepo' do
  subject { commands.check_yumrepo('epel') }
  it { should eq 'yum repolist all -C | grep ^epel' }
end

describe 'check_yumrepo_enabled' do
  subject { commands.check_yumrepo_enabled('epel') }
  it { should eq 'yum repolist all -C | grep ^epel | grep enabled' }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
serverspec-0.10.5 spec/redhat/commands_spec.rb
serverspec-0.10.4 spec/redhat/commands_spec.rb
serverspec-0.10.3 spec/redhat/commands_spec.rb
serverspec-0.10.2 spec/redhat/commands_spec.rb
serverspec-0.10.1 spec/redhat/commands_spec.rb
serverspec-0.10.0 spec/redhat/commands_spec.rb
serverspec-0.9.8 spec/redhat/commands_spec.rb
serverspec-0.9.7 spec/redhat/commands_spec.rb
serverspec-0.9.6 spec/redhat/commands_spec.rb
serverspec-0.9.5 spec/redhat/commands_spec.rb