spec/grape/exceptions/missing_option_spec.rb in grape-1.6.2 vs spec/grape/exceptions/missing_option_spec.rb in grape-1.7.0
- old
+ new
@@ -1,17 +1,15 @@
# frozen_string_literal: true
-require 'spec_helper'
-
describe Grape::Exceptions::MissingOption do
describe '#message' do
let(:error) do
described_class.new(:path)
end
it 'contains the problem in the message' do
expect(error.message).to include(
- 'You must specify :path options.'
+ 'you must specify :path options'
)
end
end
end