Sha256: ab21a6c896bad14a46087e50a05e84154491b3fb5b02bda83f8067d448ebf8fc

Contents?: true

Size: 206 Bytes

Versions: 5

Compression:

Stored size: 206 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_empty
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dry-validation-0.9.4 spec/unit/error_compiler_spec.rb
dry-validation-0.9.3 spec/unit/error_compiler_spec.rb
dry-validation-0.9.2 spec/unit/error_compiler_spec.rb
dry-validation-0.9.1 spec/unit/error_compiler_spec.rb
dry-validation-0.9.0 spec/unit/error_compiler_spec.rb