Sha256: 64a1ecfed9f9c0e06b45c0bbfb6b4ef3bbdfc73399aabc742ff02eead25756a5
Contents?: true
Size: 586 Bytes
Versions: 20
Compression:
Stored size: 586 Bytes
Contents
require 'spec_helper' describe SportsDataApi::Nfl::TeamSeasonStats, vcr: { cassette_name: 'sports_data_api_nfl_team_season_stats', record: :new_episodes, match_requests_on: [:host, :path] } do before do SportsDataApi.set_key(:nfl, api_key(:nfl)) SportsDataApi.set_access_level(:nfl, 't') end let(:team_stats) { SportsDataApi::Nfl.team_season_stats("BUF", 2013, "REG") } subject { team_stats } describe 'meta methods' do it { should respond_to :id } it { should respond_to :stats } it { subject.stats.kind_of?(Array).should be true } end end
Version data entries
20 entries across 20 versions & 1 rubygems