Sha256: 130c0e65d8f55ce1e01736e9c23125062d17a7d08e2f255bffe8d190e03be4f2

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

FactoryGirl.define do
  factory :api_configuration, class: Hash do
    sequence(:application_id)

    sequence(:smtp_server)   {|n| "smtp.domain#{n}.com" }
    sequence(:smtp_username) {|n| "username_#{n}" }
    sequence(:smtp_password) {|n| "password_#{n}" }
    sequence(:default_from)  {|n| "defaultfrom@domain#{n}.com" }

    initialize_with { attributes }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_email_service-0.0.2 spec/factories/api_configuration.rb