spec/grape/exceptions/missing_option_spec.rb in grape-0.9.0 vs spec/grape/exceptions/missing_option_spec.rb in grape-0.10.0
- old
+ new
@@ -1,18 +1,16 @@
# encoding: utf-8
require 'spec_helper'
describe Grape::Exceptions::MissingOption do
- describe "#message" do
+ describe '#message' do
let(:error) do
described_class.new(:path)
end
- it "contains the problem in the message" do
+ 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