Sha256: 34b83a5aea7d72d8839545476298ae9c2897b81acac1381fbc2ed557d4f65bc6

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

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

describe "Client" do
  before(:all) do
    config_setup
    @client = LazyGoogleAnalytics::Client.new()
  end

  it "find objects object" do
    @client.results
  end

  it "headers" do
    @client.formatted_columns.should == "ga:day\tga:month\tga:visits"
  end

  it "rows" do
    @client.formatted_rows.class.should == Array
    @client.formatted_rows.should_not be_empty
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazy_google_analytics-0.1.0 spec/functional/client_spec.rb