spec/provider/package/yum_spec.rb in wright-0.4.4 vs spec/provider/package/yum_spec.rb in wright-0.5.0

- old
+ new

@@ -16,10 +16,10 @@ Wright::Provider::Package::Yum.new(pkg_resource) end def yum(action, pkg_name, args = {}) version = args[:version].nil? ? '' : "-#{args[:version]}" - ['yum', *args[:options], action.to_s, '-y', pkg_name + version] + ['yum', '-y', *args[:options], action.to_s, pkg_name + version] end before :each do yum_dir = File.join(File.dirname(__FILE__), 'yum') @fake_capture3 = FakeCapture3.new(yum_dir)