Sha256: 6185a05b5eb34726fc6524ba33322b32943b6dfc3f44cccf90dad562dbfb4a6d

Contents?: true

Size: 248 Bytes

Versions: 19

Compression:

Stored size: 248 Bytes

Contents

RSpec.shared_context :message_compiler do
  subject(:compiler) { Dry::Validation::MessageCompiler.new(messages) }

  let(:messages) do
    Dry::Validation::Messages.default
  end

  let(:result) do
    compiler.public_send(visitor, node)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
dry-validation-0.13.3 spec/shared/message_compiler.rb
dry-validation-0.13.2 spec/shared/message_compiler.rb
dry-validation-0.13.1 spec/shared/message_compiler.rb
dry-validation-0.11.2 spec/shared/message_compiler.rb
dry-validation-0.12.3 spec/shared/message_compiler.rb
dry-validation-0.13.0 spec/shared/message_compiler.rb
dry-validation-0.12.2 spec/shared/message_compiler.rb
dry-validation-0.12.1 spec/shared/message_compiler.rb
dry-validation-0.12.0 spec/shared/message_compiler.rb
dry-validation-0.11.1 spec/shared/message_compiler.rb
dry-validation-0.11.0 spec/shared/message_compiler.rb
dry-validation-0.10.7 spec/shared/message_compiler.rb
dry-validation-0.10.6 spec/shared/message_compiler.rb
dry-validation-0.10.5 spec/shared/message_compiler.rb
dry-validation-0.10.4 spec/shared/message_compiler.rb
dry-validation-0.10.3 spec/shared/message_compiler.rb
dry-validation-0.10.2 spec/shared/message_compiler.rb
dry-validation-0.10.1 spec/shared/message_compiler.rb
dry-validation-0.10.0 spec/shared/message_compiler.rb