Sha256: 1445a441e023f9dbd6fbd7a25523a0cd57aebadfee5704036bfde882ee8988b4
Contents?: true
Size: 794 Bytes
Versions: 22
Compression:
Stored size: 794 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'helper')) context "Mutating AdGroup Ads" do setup do run_with_rescue do SessionHelper.sales_coord.call_api CityGrid::API::Advertising::AdGroupAd, :mutate, "mutateOperationListResource" => [{ "operator" => "ADD", "operand" => { "groupId" => "2861", "ad"=>{ "type" =>"PERFORMANCE_AD", "tagline" => "myTagline", "imageUrl" => "http://some_url.com" } } }] end end should("not be empty"){ !topic.empty? } should("return code OK"){ topic.adGroupAds.first.response.code }.equals(200) should("return message OK") { topic.adGroupAds.first.response.message }.equals("OK") end
Version data entries
22 entries across 22 versions & 1 rubygems