Sha256: 68e28a75e98c0acce822881fa73182360be690bb366d057046c7ce4e134634aa

Contents?: true

Size: 590 Bytes

Versions: 12

Compression:

Stored size: 590 Bytes

Contents

require_relative '../record_validating_confirmation_builder'
require_relative '../record_builder_with_i18n_validation_message'

module UnitTests
  module ConfirmationMatcherHelpers
    def builder_for_record_validating_confirmation(options = {})
      RecordValidatingConfirmationBuilder.new(options)
    end

    def builder_for_record_validating_confirmation_with_18n_message(options = {})
      builder = builder_for_record_validating_confirmation(options)
      RecordBuilderWithI18nValidationMessage.new(builder,
        validation_message_key: :confirmation
      )
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
shoulda-matchers-3.1.3 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-4.0.0.rc1 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-3.1.2 spec/support/unit/helpers/confirmation_matcher_helpers.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/shoulda-matchers-2.8.0/spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-3.1.1 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-3.1.0 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-3.0.1 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-3.0.0 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-3.0.0.rc1 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-2.8.0 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-2.8.0.rc2 spec/support/unit/helpers/confirmation_matcher_helpers.rb
shoulda-matchers-2.8.0.rc1 spec/support/unit/helpers/confirmation_matcher_helpers.rb