Sha256: 709779a4dcc1616132c65a6414d135f3b4d240677fcca8cea60d3fc2d18d034e

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true

require 'shared/deprecated_class_examples'

RSpec.describe Grape::Exceptions::MissingGroupType do
  describe '#message' do
    subject { described_class.new.message }

    it { is_expected.to include 'group type is required' }
  end

  describe 'Grape::Exceptions::MissingGroupTypeError' do
    let(:deprecated_class) { Grape::Exceptions::MissingGroupTypeError }

    it_behaves_like 'deprecated class'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grape-1.8.0 spec/grape/exceptions/missing_group_type_spec.rb