spec/unit/project_spec.rb in omnibus-6.1.7 vs spec/unit/project_spec.rb in omnibus-6.1.9

- old
+ new

@@ -200,11 +200,11 @@ expect(list.sort.map(&:name)).to eq(%w{chef chefdk ruby}) end end describe "#build_iteration" do - let(:fauxhai_options) { Hash.new } + let(:fauxhai_options) { {} } before { stub_ohai(fauxhai_options) } context "when on RHEL" do let(:fauxhai_options) { { platform: "redhat", version: "6.9" } } @@ -338,10 +338,10 @@ it "passes in the current compressors" do subject.compress(:dmg) subject.compress(:tgz) expect(Compressor).to receive(:for_current_system) - .with([:dmg, :tgz]) + .with(%i{dmg tgz}) .and_call_original subject.compressor end end