Sha256: 172dd831ffe3ace582f63677a7699ffa67ebea6afcb6991546fc3f7de4b1141a
Contents?: true
Size: 670 Bytes
Versions: 2
Compression:
Stored size: 670 Bytes
Contents
module Workarea module MailChimpApiConfig def self.included(test) super test.setup :set_key test.teardown :reset_key end def set_key Rails.application.secrets.mail_chimp = { api_key: 'a' } end def reset_key Rails.application.secrets.delete(:mail_chimp) end def vcr_args @vcr_args ||= { record: :once, match_requests_on: [:method, :uri] } end private def test_store_params { id: "test_store_1", list_id: "fcd2925136", name: "test_store_1", email_address: "jyucis@weblinc.com", currency_code: "USD" } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
workarea-mail_chimp-3.0.3 | test/support/workarea/mail_chimp_api_config.rb |
workarea-mail_chimp-3.0.2 | test/support/workarea/mail_chimp_api_config.rb |