spec/eucalyptus/ad_spec.rb in eucalyptus-0.3.1 vs spec/eucalyptus/ad_spec.rb in eucalyptus-0.3.2
- old
+ new
@@ -19,10 +19,10 @@
end
describe '#insights' do
it 'returns an array of insights for the account' do
VCR.use_cassette("ad_set_insights") do
- active_ad = Eucalyptus::Ad.all.find{|ad| ad.adgroup_status == "ACTIVE"}.first
+ active_ad = Eucalyptus::Ad.all.find{|ad| ad.adgroup_status == "ACTIVE"}
expect(active_ad.insights.first).to be_a Eucalyptus::Insight
end
end
end