Sha256: 6582b33561069273e32d57c13d39c012e95bd8d1a29b2e3906eace3cc3223660

Contents?: true

Size: 655 Bytes

Versions: 21

Compression:

Stored size: 655 Bytes

Contents

require 'spec_helper'

describe SportsDataApi::Ncaafb::Games, vcr: {
    cassette_name: 'sports_data_api_ncaafb_games',
    record: :new_episodes,
    match_requests_on: [:host, :path]
} do
  context 'results from weekly schedule fetch' do
    let(:games) do
      SportsDataApi.set_access_level(:ncaafb, 't')
      SportsDataApi.set_key(:ncaafb, api_key(:ncaafb))
      SportsDataApi::Ncaafb.weekly(2014, :REG, 1)
    end
    subject { games }
    it { should be_an_instance_of(SportsDataApi::Ncaafb::Games) }
    its(:year) { should eq 2014 }
    its(:season) { should eq :REG }
    its(:week) { should eq 1 }
    its(:count) { should eq 123 }
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sports_data_api-0.15.3 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.15.2 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.15.1 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.15.0 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.14.1 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.14.0 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.13.0 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.12.1 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.12.0 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.11.6 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.11.5 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.11.3 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.11.2 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.11.1 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.11.0 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.10.1 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.10.0 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.9.2 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.2.4 spec/lib/sports_data_api/ncaafb/games_spec.rb
sports_data_api-0.2.3 spec/lib/sports_data_api/ncaafb/games_spec.rb