Sha256: 914789e5cb2363a60a4ab6777719ad3fd73db28fd3a729b312b657539c23b1a3

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

require 'spec_helper'

describe "KalturaBox::APIWrapper" do
  let(:api) { KalturaBox::APIWrapper.new }

  before(:all) { KalturaBoxTest.setup! }

  describe "config values" do
    it { expect( api.client.config.login_email ).to eq(KalturaBox.config.login_email) }
    it { expect( api.client.config.login_password ).to eq(KalturaBox.config.login_password) }
    it { expect( api.client.config.partner_id ).to eq(KalturaBox.config.partner_id) }
    it { expect( api.client.config.subpartner_id ).to eq(KalturaBox.config.subpartner_id) }
    it { expect( api.client.config.administrator_secret ).to eq(KalturaBox.config.administrator_secret) }
    it { expect( api.client.config.user_secret ).to eq(KalturaBox.config.user_secret) }
    it { expect( api.client.config.thumb_width ).to eq(KalturaBox.config.thumb_width) }
    it { expect( api.client.config.thumb_height ).to eq(KalturaBox.config.thumb_height) }
    it { expect( api.client.config.player_conf_id ).to eq(KalturaBox.config.player_conf_id) }
    it { expect( api.client.config.service_url ).to eq(KalturaBox.config.service_url) }
    it { expect( api.client.config.logger ).to eq(KalturaBox.config.logger) }
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaltura_box-0.0.3 spec/api_spec.rb
kaltura_box-0.0.2 spec/api_spec.rb
kaltura_box-0.0.1 spec/api_spec.rb