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
fog-1.27.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.26.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.25.0 tests/joyent/models/analytics/metric_tests.rb
nsidc-fog-1.24.1 tests/joyent/models/analytics/metric_tests.rb
fog-1.24.0 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.11 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.10 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.9 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.8 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.7 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.6 tests/joyent/models/analytics/metric_tests.rb
fog-1.23.0 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.4 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.3 tests/joyent/models/analytics/metric_tests.rb
ns-fog-1.22.2 tests/joyent/models/analytics/metric_tests.rb
fog-1.22.1 tests/joyent/models/analytics/metric_tests.rb
fog-1.22.0 tests/joyent/models/analytics/metric_tests.rb
fog-1.21.0 tests/joyent/models/analytics/metric_tests.rb