Sha256: 136ae654704c7d5d260423f02de3a420138cfaea6443aaae1732b509e92c064a

Contents?: true

Size: 465 Bytes

Versions: 2

Compression:

Stored size: 465 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Eucalyptus::Insight do
  describe '.known_fields' do
    it 'returns an object which responds to available fields' do
      VCR.use_cassette('account_insights') do
        account = Eucalyptus::Account.all.first
        insights = account.insights.first

        expect(insights).to respond_to :inline_link_clicks
        expect(insights).to respond_to :cpc
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eucalyptus-1.2.4 spec/eucalyptus/insight_spec.rb
eucalyptus-1.2.3 spec/eucalyptus/insight_spec.rb