Sha256: 2f871447a0048484362307c1cc6be73e57717aee9676d76da6792168063345da
Contents?: true
Size: 486 Bytes
Versions: 9
Compression:
Stored size: 486 Bytes
Contents
require 'spec_helper' describe SportsDataApi::Mlb::Season, vcr: { cassette_name: 'sports_data_api_mlb_season', record: :new_episodes, match_requests_on: [:host, :path] } do context 'results from schedule fetch' do let(:season) do SportsDataApi.set_access_level(:mlb, 't') SportsDataApi.set_key(:mlb, api_key(:mlb)) SportsDataApi::Mlb.schedule(2014) end subject { season } its(:games) { should have(2449).games} end end
Version data entries
9 entries across 9 versions & 1 rubygems