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