Sha256: 787391ccb1b613cf7281d42ef8ab2c56bc8aa1834c7e5a23e6fa0a8780777802

Contents?: true

Size: 346 Bytes

Versions: 9

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

describe DeepL::API do
  let(:configuration) { DeepL::Configuration.new }
  subject { DeepL::API.new(configuration) }

  describe '#initialize' do
    context 'When building an API object' do
      it 'should save the configuration' do
        expect(subject.configuration).to be(configuration)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
deepl-rb-2.2.2 spec/api/api_spec.rb
deepl-rb-2.2.1 spec/api/api_spec.rb
deepl-rb-2.2.0 spec/api/api_spec.rb
deepl-rb-2.1.0 spec/api/api_spec.rb
deepl-rb-2.0.0 spec/api/api_spec.rb
deepl-rb-1.0.1 spec/api/api_spec.rb
deepl-rb-1.0.0 spec/api/api_spec.rb
deepl-rb-0.0.1 spec/api/api_spec.rb
deepl-rb-0.0.0 spec/api/api_spec.rb