Sha256: abd60ae415cb8df677f3e52c977b2bc8fdd0c9f9c49ad3a89409a4feba76fccc

Contents?: true

Size: 348 Bytes

Versions: 11

Compression:

Stored size: 348 Bytes

Contents

RSpec.describe Hubspot do
  describe ".configure" do
    it "delegates .configure to Hubspot::Config.configure" do
      options = { access_token: "demo" }
      allow(Hubspot::Config).to receive(:configure).with(options)

      Hubspot.configure(options)

      expect(Hubspot::Config).to have_received(:configure).with(options)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hubspot-api-ruby-0.19.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.18.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.17.1 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.17.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.16.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.15.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.14.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.13.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.12.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.11.0 spec/lib/hubspot-ruby_spec.rb
hubspot-api-ruby-0.10.0 spec/lib/hubspot-ruby_spec.rb