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.7 test/api/advertising/test_ad_group.rb
citygrid_api-0.0.6 test/api/advertising/test_ad_group.rb