Sha256: bbdbb43687bfda7a5ee6361f32f10ebb987729ac41f3a9b36f64e5c95c113998

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

require 'test_helper'

class ClientSendsMetricsTest < AcceptanceTestCase

  def test_client_sends_metrics
    test_app      = TestApp.new
    test_endpoint = TestEndpoint.new
    test_user     = TestUser.new

    test_endpoint.listen
    test_app.boot
    if ENV['STRATEGY'] != 'active_job'
      assert test_endpoint.has_received_information_about_startup
    end
    test_user.create_entity('Myrmecophagidae')
    assert test_endpoint.has_one_creation_for_entity_resource
  ensure
    test_app.shutdown if test_app
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chillout-0.8.2 test/acceptance/client_sends_metrics_test.rb
chillout-0.8.1 test/acceptance/client_sends_metrics_test.rb
chillout-0.8.0 test/acceptance/client_sends_metrics_test.rb