Sha256: 544f1235b2ee006d55771518347c7b636525ede40254eb502013b9ce206a4deb

Contents?: true

Size: 818 Bytes

Versions: 27

Compression:

Stored size: 818 Bytes

Contents

require 'test_helper'

module Workarea
  class MonitoringIntegrationTest < Workarea::IntegrationTest
    def test_monitors_the_mongodb_status
      get workarea.easymon_path('mongodb')
      assert_includes(response.body, 'Up')
    end

    def test_monitors_the_redis_status
      get workarea.easymon_path('redis')
      assert_includes(response.body, 'Up')
    end

    def test_monitors_the_elasticsearch_status
      get workarea.easymon_path('elasticsearch')
      assert_includes(response.body, 'Up')
    end

    def test_monitors_the_sidekiq_queue_status
      get workarea.easymon_path('sidekiq-queue')
      assert_includes(response.body, 'Low')
    end

    def test_monitors_for_load_balancing
      get workarea.easymon_path('load-balancing')
      assert_includes(response.body, 'Up')
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
workarea-core-3.5.7 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.29 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.5.6 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.28 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.5.5 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.27 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.5.4 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.26 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.5.3 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.25 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.5.2 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.24 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.5.1 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.23 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.22 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.5.0 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.21 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.5.0.beta.1 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.20 test/integration/workarea/monitoring_integration_test.rb
workarea-core-3.4.19 test/integration/workarea/monitoring_integration_test.rb