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

13 lines
364 B
Ruby

Shindo.tests("Fog::Joyent[:analytics] | transformations", %w{joyent}) do
@analytics = Fog::Joyent[:analytics]
@transformations = @analytics.transformations
tests('#all').succeeds do
@transformations.all
end
tests('#new').succeeds do
@transformations.new(['geolocate', { 'label' => 'geolocate IP addresses', "fields" => ["raddr"] }])
end
end