Sha256: 2cd5c1dd74e24747c905163cd6b04f517ab8c5fd59bd52306f992688dee3d8ef

Contents?: true

Size: 231 Bytes

Versions: 11

Compression:

Stored size: 231 Bytes

Contents

RSpec.describe ErrorCompiler, '#call' do
  subject(:error_compiler) { ErrorCompiler.new({}) }

  it 'returns an empty hash when there are no errors' do
    expect(error_compiler.([])).to be(ErrorCompiler::DEFAULT_RESULT)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dry-validation-0.8.0 spec/unit/error_compiler_spec.rb
dry-validation-0.7.4 spec/unit/error_compiler_spec.rb
dry-validation-0.7.3 spec/unit/error_compiler_spec.rb
dry-validation-0.7.2 spec/unit/error_compiler_spec.rb
dry-validation-0.7.1 spec/unit/error_compiler_spec.rb
dry-validation-0.7.0 spec/unit/error_compiler_spec.rb
dry-validation-0.6.0 spec/unit/error_compiler_spec.rb
dry-validation-0.5.0 spec/unit/error_compiler_spec.rb
dry-validation-0.4.1 spec/unit/error_compiler_spec.rb
dry-validation-0.4.0 spec/unit/error_compiler_spec.rb
dry-validation-0.3.1 spec/unit/error_compiler_spec.rb