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/forwarding_rule_tests.rb

9 lines
400 B
Ruby
Raw Normal View History

require 'securerandom'
Shindo.tests("Fog::Compute[:google] | forwarding rule model", ['google']) do
random_string = SecureRandom.hex
region = 'us-central1'
target_pool = create_test_target_pool(Fog::Compute[:google], region)
model_tests(Fog::Compute[:google].forwarding_rules, {:name => "fog-test-forwarding-rules-#{random_string}", :region => region, :target => target_pool.self_link})
end