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/fields_tests.rb
2014-01-21 16:24:24 +00:00

13 lines
297 B
Ruby

Shindo.tests("Fog::Joyent[:analytics] | fields", %w{joyent}) do
@analytics = Fog::Joyent[:analytics]
@fields = @analytics.fields
tests('#all').succeeds do
@fields.all
end
tests('#new').succeeds do
@fields.new(['apache', { 'label' => 'Apache', 'type' => 'string' }])
end
end