Sha256: 5e57aa7d0794079b733ffd55d637587bd7ad4f8da0f39faeb9f89c9b79526866
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
# encoding: utf-8 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." ) end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
grape-security-0.8.0 | spec/grape/exceptions/missing_option_spec.rb |
grape-0.9.0 | spec/grape/exceptions/missing_option_spec.rb |
grape-0.8.0 | spec/grape/exceptions/missing_option_spec.rb |