Sha256: 1fa4ddecf8c03489d33940a6e750fdb6cf460a6d29e6f1e01f20fd96f26f8cf8

Contents?: true

Size: 824 Bytes

Versions: 22

Compression:

Stored size: 824 Bytes

Contents

require 'spec_helper'

describe SportsDataApi::Ncaamb::Venue, vcr: {
    cassette_name: 'sports_data_api_ncaamb_venue',
    record: :new_episodes,
    match_requests_on: [:host, :path]
} do
  let(:daily_schedule) do
    SportsDataApi.set_access_level(:ncaamb, 't')
    SportsDataApi.set_key(:ncaamb, api_key(:ncaamb))
    SportsDataApi::Ncaamb.daily(2015, 2, 13)
  end
  context 'results from weekly schedule fetch' do
    subject { daily_schedule.first.venue }
    its(:id) { should eq '2e713b00-8015-42c7-813b-643f41b0d384' }
    its(:name) { should eq 'Stan Sheriff Center' }
    its(:address) { should eq '1355 Lower Campus Dr' }
    its(:city) { should eq 'Honolulu' }
    its(:state) { should eq 'HI' }
    its(:zip) { '96822' }
    its(:country) { should eq 'USA' }
    its(:capacity) { should eq '10300' }
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
sports_data_api-0.15.3 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.15.2 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.15.1 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.15.0 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.14.1 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.14.0 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.13.0 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.12.1 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.12.0 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.11.6 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.11.5 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.11.3 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.11.2 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.11.1 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.11.0 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.10.1 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.10.0 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.9.2 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.2.4 spec/lib/sports_data_api/ncaamb/venue_spec.rb
sports_data_api-0.2.3 spec/lib/sports_data_api/ncaamb/venue_spec.rb