mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
13 lines
297 B
Ruby
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
|