test/access/campaign_test.rb in access-2.0.27 vs test/access/campaign_test.rb in access-2.0.28

- old
+ new

@@ -30,10 +30,10 @@ get_first_campaign VCR.use_cassette('campaign find') do campaigns_response = Access::Campaign.find(@first_campaign.key, member_key: 'API_RUBY_GEM_TEST', channel_key: 20889900, api_environment: 'stage') assert campaigns_response.success assert_kind_of Access::CampaignResponse, campaigns_response - base_attributes = [:campaign_name, :campaign_description, :start_date, :end_date, :campaign_ranking, :spot_list, :channel_list, :links] + base_attributes = [:key, :campaign_name, :campaign_description, :start_date, :end_date, :campaign_ranking, :spot_list, :channel_list, :links] base_attributes.each do |att| assert campaigns_response.respond_to?(att), "#{att} not found" end assert_kind_of Array, campaigns_response.spot_list assert_kind_of Access::Spot, campaigns_response.spot_list.first