1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/google/models/compute/global_forwarding_rule_tests.rb

8 lines
362 B
Ruby
Raw Normal View History

require 'securerandom'
Shindo.tests("Fog::Compute[:google] | global forwarding rule model", ['google']) do
random_string = SecureRandom.hex
2014-08-06 20:58:55 -04:00
proxy = create_test_target_http_proxy(Fog::Compute[:google])
2014-08-06 23:26:22 -04:00
model_tests(Fog::Compute[:google].global_forwarding_rules, {:name => "fog-test-global-forwarding-rule-#{random_string}", :target => proxy.self_link})
end