Sha256: 5962c598635d6a4ea4b12eda75f926df23b3bbe06974507ff2cd1549fe87a6c8
Contents?: true
Size: 416 Bytes
Versions: 94
Compression:
Stored size: 416 Bytes
Contents
package_require('ree_errors/validation_error') RSpec.describe ReeErrors::ValidationError do it { klass = described_class.build(:code) error = klass.new('message') expect(klass).to be_a(Class) expect(error).to be_a(ReeErrors::Error) expect(error.message).to eq('message') expect(error.code).to eq(:code) expect(error.type).to eq(:validation) expect(error.locale).to eq(nil) } end
Version data entries
94 entries across 94 versions & 1 rubygems