test/access/spot_test.rb in access-2.0.27 vs test/access/spot_test.rb in access-2.0.28
- old
+ new
@@ -38,10 +38,10 @@
get_first_spot
VCR.use_cassette('spot find') do
spots_response = Access::Spot.find(@first_spot.key, member_key: 'API_RUBY_GEM_TEST', api_environment: 'stage')
assert spots_response.success
assert_kind_of Access::SpotResponse, spots_response
- base_attributes = [:spot_name, :spot_text, :start_date, :end_date, :spot_ranking, :spot_redirect_url, :spot_redirect_type, :spot_image_url, :links]
+ base_attributes = [:key, :spot_name, :spot_text, :start_date, :end_date, :spot_ranking, :spot_redirect_url, :spot_redirect_type, :spot_image_url, :links]
base_attributes.each do |att|
assert spots_response.respond_to?(att), "#{att} not found"
end
assert_kind_of Access::Offer, spots_response.offer_resource
assert_kind_of Array, spots_response.links