Sha256: fdb08a7fb1b553e6d25a10d87056f2655957ff19b0ce0a23c3327c59a59e3229

Contents?: true

Size: 544 Bytes

Versions: 15

Compression:

Stored size: 544 Bytes

Contents

require 'spec_helper'

describe SportsDataApi::Nba::Broadcast, vcr: {
    cassette_name: 'sports_data_api_nba_broadcast',
    record: :new_episodes,
    match_requests_on: [:host, :path]
} do
  let(:daily_schedule) do
    SportsDataApi.set_access_level(:nba, 't')
    SportsDataApi.set_key(:nba, api_key(:nba))
    SportsDataApi::Nba.daily(2013, 12, 12)
  end
  context 'results from daily schedule fetch' do
    subject { daily_schedule.first.broadcast }
    its(:network) { should eq 'TNT' }
    its(:satellite) { should eq '245' }
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sports_data_api-0.11.6 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.11.5 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.11.3 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.11.2 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.11.1 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.11.0 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.10.1 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.10.0 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.9.2 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.2.4 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.2.3 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.2.2 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.2.1 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.2.0 spec/lib/sports_data_api/nba/broadcast_spec.rb
sports_data_api-0.1.0 spec/lib/sports_data_api/nba/broadcast_spec.rb