spec/sprinkle/installers/rpm_spec.rb in sprinkle-0.4.2 vs spec/sprinkle/installers/rpm_spec.rb in sprinkle-0.5.0.rc1
- old
+ new
@@ -19,9 +19,14 @@
it 'should accept an array of packages to install' do
@installer = create_rpm %w( gcc gdb g++ )
@installer.packages.should == ['gcc', 'gdb', 'g++']
end
+
+ it 'should accept a list of packages to install' do
+ @installer = Sprinkle::Installers::Rpm.new(@package, "gcc", "gdb", "g++")
+ @installer.packages.should == ['gcc', 'gdb', 'g++']
+ end
end
describe 'during installation' do