Sha256: acc52120cc9b0501e06fdf96049fb3135b1dacfe657b74a8f07270de2a5d2af8

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

require File.expand_path('../test_assistant', __FILE__)

module Pingpp
  class TransactionStatisticsTest < Test::Unit::TestCase
    should "execute should return a transaction_statistics object" do
      ts = Pingpp::TransactionStatistics.retrieve(
        :time_start => Time.now.to_i - 86400 * 60,
        :time_end => Time.now.to_i - 86400 * 30
      )

      assert ts.object == 'transaction_statistics'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pingpp-2.1.1 test/transaction_statistics_test.rb