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