Sha256: 678d26e168d582ff0ff26d7c8909a6dda9c8fee300d86f547d86d90687f962b4

Contents?: true

Size: 415 Bytes

Versions: 22

Compression:

Stored size: 415 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'helper'))

context "Search Ad Group by Campaign Id" do
  setup do
    run_with_rescue do
      SessionHelper.sales_coord.call_api CityGrid::API::Advertising::AdGroup,
        :search,
        :campaignId => 2434702
    end
  end
  should("not be empty"){ !topic.empty? }
  should("have campaignId"){ !topic.adGroups.first.campaignId.nil? }
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
citygrid_api-0.0.28 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.27 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.26 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.25 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.24 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.23 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.22 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.21 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.20 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.19 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.18 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.17 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.16 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.15 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.14 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.13 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.12 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.11 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.10 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.9 test/api/advertising/test_ad_group.rb