1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/joyent/models/analytics/field_tests.rb
2014-01-21 16:24:25 +00:00

10 lines
410 B
Ruby

Shindo.tests("Fog::Joyent[:analytics] | field", %w{joyent}) do
@analytics = Fog::Joyent[:analytics]
@field = @analytics.fields.first
tests('read only') do
returns(false, 'should not save') { @field.respond_to?(:save)}
returns(false, 'should not allow creating a new one') { @field.respond_to?(:create)}
returns(false, 'should not allow destroying') { @field.respond_to?(:destroy)}
end
end