test/cask/dsl/container_spec: fix test failure with Ruby 3.4

This commit is contained in:
Bo Anderson 2025-04-16 17:10:10 +01:00
parent e021a6b7dd
commit 3049d21ca0
No known key found for this signature in database

View File

@ -17,7 +17,7 @@ RSpec.describe Cask::DSL::Container do
let(:params) { { nested: "NestedApp.dmg", type: :naked } }
it "returns the stringified attributes" do
expect(container.to_s).to eq('{:nested=>"NestedApp.dmg", :type=>:naked}')
expect(container.to_s).to eq(params.inspect)
end
end