Sha256: a282ac19f520941186200febc5138ad406ef43c0f6b526ca5f3305c0af384ab2
Contents?: true
Size: 527 Bytes
Versions: 2
Compression:
Stored size: 527 Bytes
Contents
require 'spec_helper' # FACEBOOK_ACCESS_TOKEN=... rspec spec/facebook_ads/ad_campaign_spec.rb describe FacebookAds::AdCampaign do xdescribe '.ad_sets' do end xdescribe '.create_ad_set' do end describe '.destroy' do it 'creates a new ad campaign', :vcr do ad_campaign = FacebookAds::AdCampaign.find('6076262142242') expect(ad_campaign.destroy).to be(true) ad_campaign = FacebookAds::AdCampaign.find(ad_campaign.id) expect(ad_campaign.effective_status).to eq('DELETED') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facebook_ads-0.4 | spec/facebook_ads/ad_campaign_spec.rb |
facebook_ads-0.1.12 | spec/facebook_ads/ad_campaign_spec.rb |