Sha256: f0bf16a519f319a751fc111ee970c3c36473f82655628717744a330e9df63bbc

Contents?: true

Size: 416 Bytes

Versions: 38

Compression:

Stored size: 416 Bytes

Contents

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

  tests('read only') do
    returns(false, 'should not save') { @metric.respond_to?(:save)}
    returns(false, 'should not allow creating a new one') { @metric.respond_to?(:create)}
    returns(false, 'should not allow destroying') { @metric.respond_to?(:destroy)}
  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/metric_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-joyent-0.0.1/tests/joyent/models/analytics/metric_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-joyent-0.0.1/tests/joyent/models/analytics/metric_tests.rb
fog-joyent-0.0.1 tests/joyent/models/analytics/metric_tests.rb
fog-1.40.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.39.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.38.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.37.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.36.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.35.0 tests/joyent/models/analytics/metric_tests.rb
fog-2.0.0.pre.0 tests/joyent/models/analytics/metric_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/joyent/models/analytics/metric_tests.rb
fog-1.34.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.33.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.32.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.31.0 tests/joyent/models/analytics/metric_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/joyent/models/analytics/metric_tests.rb
fog-1.30.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.29.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.28.0 tests/joyent/models/analytics/metric_tests.rb