Sha256: aa87b87e995137157776f1348bc23752c5bb463b3429bac5460014eb078e53e9

Contents?: true

Size: 580 Bytes

Versions: 4

Compression:

Stored size: 580 Bytes

Contents

require 'spec_helper'

describe Youku::Client do

  let(:client) { Youku::Client.new }

  describe '#searches' do
    subject { client.searches }

    it { expect(subject).to be_a Youku::V2::Searches }
    it { expect(subject.client).to eq client }
  end

  describe '#videos' do
    subject { client.videos }

    it { expect(subject).to be_a Youku::V2::Videos }
    it { expect(subject.client).to eq client }
  end

  describe '#users' do
    subject { client.users }

    it { expect(subject).to be_a Youku::V2::Users }
    it { expect(subject.client).to eq client }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
youku_client-0.0.4 spec/youku/client_spec.rb
youku_client-0.0.3 spec/youku/client_spec.rb
youku_client-0.0.2 spec/youku/client_spec.rb
youku_client-0.0.1 spec/youku/client_spec.rb