Sha256: 840afc32d883dd99ee1543dd576dd5365f4e8035543e7ba2985bfc470fb4276a

Contents?: true

Size: 547 Bytes

Versions: 10

Compression:

Stored size: 547 Bytes

Contents

require 'rails_helper'

module BloomRemit
  RSpec.describe InitializeClient do

    it "initializes a BloomRemitClient and places it in the context" do
      BloomRemit.configure do |c|
        c.token = "token"
        c.secret = "secret"
        c.agent_id = "agent_id"
        c.url = "url.com"
      end

      client = described_class.execute.client

      expect(client.token).to eq "token"
      expect(client.secret).to eq "secret"
      expect(client.agent_id).to eq "agent_id"
      expect(client.url).to eq "url.com"
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bloom_remit-0.7.0 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.6.1 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.6.0 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.5.0 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.4.1 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.4.0 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.3.0 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.2.1 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.2.0 spec/services/bloom_remit/initialize_client_spec.rb
bloom_remit-0.1.0 spec/services/bloom_remit/initialize_client_spec.rb