spec/tram/policy/error_spec.rb in tram-policy-2.1.0 vs spec/tram/policy/error_spec.rb in tram-policy-2.2.0

- old
+ new

@@ -1,6 +1,6 @@ RSpec.describe Tram::Policy::Error do - subject(:error) { described_class.new :bad, options } + subject(:error) { described_class.new :bad, **options } let(:scope) { %w[tram-policy] } let(:options) { { level: "warning", scope: scope } } describe "#item" do