Sha256: 3b201652bc2b308a136a2e1cf6d9e3cdcfafc4d3899646abc009d019ad23460a
Contents?: true
Size: 571 Bytes
Versions: 15
Compression:
Stored size: 571 Bytes
Contents
require 'spec_helper' describe SportsDataApi::Nba::Games, vcr: { cassette_name: 'sports_data_api_nba_games', record: :new_episodes, match_requests_on: [:host, :path] } do context 'results from daily schedule fetch' do let(:games) do SportsDataApi.set_access_level(:nba, 't') SportsDataApi.set_key(:nba, api_key(:nba)) SportsDataApi::Nba.daily(2013, 12, 12) end subject { games } it { should be_an_instance_of(SportsDataApi::Nba::Games) } its(:date) { should eq "2013-12-12" } its(:count) { should eq 2 } end end
Version data entries
15 entries across 15 versions & 1 rubygems