spec/eucalyptus/account_spec.rb in eucalyptus-0.2.2 vs spec/eucalyptus/account_spec.rb in eucalyptus-0.2.3

- old
+ new

@@ -9,11 +9,11 @@ let(:account) { Eucalyptus::Account.all.last } describe '#insights' do it 'returns an array of insights for the account' do - VCR.use_cassette("resource_insights") do + VCR.use_cassette("account_insights") do expect(account.insights).to be_a Array expect(account.insights.first).to be_a Eucalyptus::Insight end end end @@ -35,10 +35,10 @@ end end end describe '#campaigns' do - it 'returns a collection of AdSet objects which belong to the account' do + it 'returns a collection of Campaign objects which belong to the account' do VCR.use_cassette("account_campaigns") do expect(account.campaigns).to be_a Array expect(account.campaigns.first).to be_a Eucalyptus::Campaign end end