spec/grape/exceptions/unknown_options_spec.rb in grape-1.0.1 vs spec/grape/exceptions/unknown_options_spec.rb in grape-1.0.2
- old
+ new
@@ -1,11 +1,10 @@
-# encoding: utf-8
require 'spec_helper'
describe Grape::Exceptions::UnknownOptions do
describe '#message' do
let(:error) do
- described_class.new([:a, :b])
+ described_class.new(%i[a b])
end
it 'contains the problem in the message' do
expect(error.message).to include(
'unknown options: '