spec/grape/exceptions/base_spec.rb in grape-1.2.5 vs spec/grape/exceptions/base_spec.rb in grape-1.3.0

- old
+ new

@@ -1,9 +1,11 @@ +# frozen_string_literal: true + require 'spec_helper' describe Grape::Exceptions::Base do describe '#compose_message' do - subject { described_class.new.send(:compose_message, key, attributes) } + subject { described_class.new.send(:compose_message, key, **attributes) } let(:key) { :invalid_formatter } let(:attributes) { { klass: String, to_format: 'xml' } } after do