Sha256: eb9f0cefcbf99fee1ec4e9c04c20fd0cd937ad3832200f092dc4be07f7fa9d0f
Contents?: true
Size: 565 Bytes
Versions: 2
Compression:
Stored size: 565 Bytes
Contents
FactoryBot.define do factory :fake_client, class: OpenStruct do access_token { 'THISISBATCOUNTRY' } client_id { 'NEVERTRUSTACOPINARAINCOAT' } client_secret { 'TOOWEIRDTOLIVETORARETODIE' } expires_in { 3599 } api_url { 'https://api.nedbank.co.za/apimarket/sandbox' } factory :client_with_error do trait :invalid_client do access_token { nil } error_description { 'FBTOAU204E An invalid secret was provided for the client with identifier: [CLIENT_ID].' } error { 'invalid_client' } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nedbank_api-0.2.5 | spec/factories/client.rb |
nedbank_api-0.2.2 | spec/factories/client.rb |