Sha256: 79dc442427979f9295b18ba35466a17e802a9606cff8c6995922304587ba958d

Contents?: true

Size: 592 Bytes

Versions: 22

Compression:

Stored size: 592 Bytes

Contents

require 'spec_helper'

describe SportsDataApi::Ncaamb::Games, vcr: {
    cassette_name: 'sports_data_api_ncaamb_games',
    record: :new_episodes,
    match_requests_on: [:host, :path]
} do
  context 'results from daily schedule fetch' do
    let(:games) do
      SportsDataApi.set_access_level(:ncaamb, 't')
      SportsDataApi.set_key(:ncaamb, api_key(:ncaamb))
      SportsDataApi::Ncaamb.daily(2015, 2, 25)
    end
    subject { games }
    it { should be_an_instance_of(SportsDataApi::Ncaamb::Games) }
    its(:date) { should eq "2015-02-25" }
    its(:count) { should eq 51 }
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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