spec/eucalyptus/custom_audience_spec.rb in eucalyptus-0.3.1 vs spec/eucalyptus/custom_audience_spec.rb in eucalyptus-0.3.2
- old
+ new
@@ -25,10 +25,10 @@
end
describe '#ad_sets' do
it 'returns ad_sets which belong to the audience' do
VCR.use_cassette('audience_ad_sets') do
- audience = Eucalyptus::CustomAudience.all.first
+ audience = Eucalyptus::CustomAudience.all.last
ad_sets = audience.ad_sets
expect(ad_sets.first.targeting.custom_audiences.first['id']).to eql audience.id
end
end
end