Sha256: 0dc427c02b85ede5811dd4a65fa18a3c58a4c9623daf844ba035373349d4ea7e

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

# frozen_string_literal: true

require_relative '../../spec_constants'

# Please place phone number answers first for testing
# It shouldn't matter if we implemented stronger test matchers
EMAIL_PHONE_TRUTHY_WITH_ANSWERS = [
  {
    matches: ["jbash042@example.com"],
    text: "My name is Cynthia, a friend of mine needs a nanny to watch her baby in your area, her contact is ( jbash042@example.com ) She will be waiting to hear from you kindly send her an email now!",
    filtered: "My name is Cynthia, a friend of mine needs a nanny to watch her baby in your area, her contact is ( #{INSERTABLE} ) She will be waiting to hear from you kindly send her an email now!"
  },
  {
    matches: ["216.555.FOUR FIVE EIGHT NINE", "jbash042@example.com"],
    text: "My name is Cynthia, a friend of mine needs a nanny to watch her baby in your area, her contact is ( jbash042@example.com ) or 216.555.FOUR FIVE EIGHT NINE!",
    filtered: "My name is Cynthia, a friend of mine needs a nanny to watch her baby in your area, her contact is ( #{INSERTABLE} ) or #{INSERTABLE}!"
  },
  {
    matches: ["432-555-5454", "johnkrueger@example.com"],
    text: "You can contact me at johnkrueger@example.com, or call me at 432-555-5454. Please get in touch.",
    filtered: "You can contact me at #{INSERTABLE}, or call me at #{INSERTABLE}. Please get in touch."
  },
  {
    matches: ["416-555-5454", "john.krueger@example.com"],
    text: "You can contact me at john.krueger@example.com, or call me at 416-555-5454. Please get in touch.",
    filtered: "You can contact me at #{INSERTABLE}, or call me at #{INSERTABLE}. Please get in touch."
  },
  {
    matches: ["416-555-5454", "john.krueger@example.com"],
    text: "You can contact me at john.krueger@example.com, or call me at 416-555-5454. Please get in touch.",
    filtered: "You can contact me at #{INSERTABLE}, or call me at #{INSERTABLE}. Please get in touch."
  }
].freeze

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramparts-0.3.1 spec/data/email_and_phone_data/truthy_email_and_phone_data.rb
ramparts-0.3.0 spec/data/email_and_phone_data/truthy_email_and_phone_data.rb