Sha256: 7cc6a432cbeafbe872160033250a29a41c92cb15bbc240ab2f93eda54314fb7e
Contents?: true
Size: 316 Bytes
Versions: 3
Compression:
Stored size: 316 Bytes
Contents
# frozen_string_literal: true describe Grape::Exceptions::UnknownValidator do describe '#message' do let(:error) do described_class.new('gt_10') end it 'contains the problem in the message' do expect(error.message).to include( 'unknown validator: gt_10' ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
grape-1.8.0 | spec/grape/exceptions/unknown_validator_spec.rb |
grape-1.7.1 | spec/grape/exceptions/unknown_validator_spec.rb |
grape-1.7.0 | spec/grape/exceptions/unknown_validator_spec.rb |