Sha256: 0f71bb15eed6e8b36d0bba8b548091badc6ca25efeb58f37e047e42869f6b688

Contents?: true

Size: 573 Bytes

Versions: 38

Compression:

Stored size: 573 Bytes

Contents

Shindo.tests("Fog::Joyent[:analytics] | metrics", %w{joyent}) do
  @analytics = Fog::Joyent[:analytics]
  @metrics = @analytics.metrics

  tests('#all').succeeds do
    @metrics.all
  end

  tests('#new').succeeds do
    @metrics.new({
                     "module" => "cpu",
                     "stat" => "thread_executions",
                     "label" => "thread executions",
                     "interval" => "interval",
                     "fields" => ["hostname", "zonename", "runtime"],
                     "unit" => "operations"
                 })
  end

end

Version data entries

38 entries across 36 versions & 6 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-joyent-0.0.1/tests/joyent/models/analytics/metrics_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-joyent-0.0.1/tests/joyent/models/analytics/metrics_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-joyent-0.0.1/tests/joyent/models/analytics/metrics_tests.rb
fog-joyent-0.0.1 tests/joyent/models/analytics/metrics_tests.rb
fog-1.40.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.39.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.38.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.37.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.36.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.35.0 tests/joyent/models/analytics/metrics_tests.rb
fog-2.0.0.pre.0 tests/joyent/models/analytics/metrics_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/joyent/models/analytics/metrics_tests.rb
fog-1.34.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.33.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.32.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.31.0 tests/joyent/models/analytics/metrics_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/joyent/models/analytics/metrics_tests.rb
fog-1.30.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.29.0 tests/joyent/models/analytics/metrics_tests.rb
fog-1.28.0 tests/joyent/models/analytics/metrics_tests.rb