Sha256: dc3c5c53799a536b7f74f0e94fe0ae2d8115da0010054dc3d35e2568e813564c
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true require 'shared/deprecated_class_examples' RSpec.describe Grape::Exceptions::UnsupportedGroupType do subject { described_class.new } describe '#message' do subject { described_class.new.message } it { is_expected.to include 'group type must be Array, Hash, JSON or Array[JSON]' } end describe 'Grape::Exceptions::UnsupportedGroupTypeError' do let(:deprecated_class) { Grape::Exceptions::UnsupportedGroupTypeError } 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/unsupported_group_type_spec.rb |