Sha256: 04ebdac2a7d451e584bcd9b9482756741b541fcafdbc54a4d93541b083c2fa77
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
describe Pandler::Yumfile do include TempDirHelper before :all do content = <<-EOF repo "base", "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os" repo "update", "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=update" rpm "basesystem" EOF write_file("Yumfile", content) @yumfile = Pandler::Yumfile.new("Yumfile") end subject { @yumfile } it { should have(2).repos } its(:repos) { should have_key 'base' } its(:repos) { should have_key 'update' } its(:rpms) { should include 'basesystem' } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pandler-0.0.1 | spec/pandler/yumfile_spec.rb |