Sha256: e8bdc75d42dba6fe8bfb16732a427f1b0652ef1ff6f700420e78a9da8c960afe
Contents?: true
Size: 237 Bytes
Versions: 3
Compression:
Stored size: 237 Bytes
Contents
require 'spec_helper' describe Grape::Exceptions::Validation do it 'fails when params are missing' do expect { Grape::Exceptions::Validation.new(message: 'presence') }.to raise_error(RuntimeError, 'Params are missing:') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
grape-0.16.2 | spec/grape/exceptions/validation_spec.rb |
grape-0.16.1 | spec/grape/exceptions/validation_spec.rb |
grape-0.15.0 | spec/grape/exceptions/validation_spec.rb |