spec/eucalyptus/campaign_spec.rb in eucalyptus-0.2.13 vs spec/eucalyptus/campaign_spec.rb in eucalyptus-0.3.0

- old
+ new

@@ -10,28 +10,25 @@ let(:campaign) { Eucalyptus::Campaign.all.last } describe '#insights' do it 'returns an array of insights for the account' do VCR.use_cassette("campaign_insights") do - expect(campaign.insights).to be_a Array expect(campaign.insights.first).to be_a Eucalyptus::Insight end end end describe '#ads' do it 'returns a collection of Ad objects which belong to the campaign' do VCR.use_cassette("campaign_ads") do - expect(campaign.ads).to be_a Array expect(campaign.ads.first).to be_a Eucalyptus::Ad end end end describe '#ad_sets' do it 'returns a collection of Ad objects which belong to the campaign' do VCR.use_cassette("campaign_ad_sets") do - expect(campaign.ad_sets).to be_a Array expect(campaign.ad_sets.first).to be_a Eucalyptus::AdSet end end end