test/epom/zone_test.rb in epom-0.9 vs test/epom/zone_test.rb in epom-0.9.1

- old
+ new

@@ -43,21 +43,21 @@ assert_instance_of Hash, response assert_instance_of Fixnum, response['id'] assert response['success'] end - test "get_zone_placement" do + test "get_zone_placements" do timestamp = Time.now.to_i * 1000 body_params = { :hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp), :timestamp => timestamp, :username => ENV['username'], } url_params = { :zoneId => ENV['zone_id'] } - response = Epom::Zone.get_zone_placement(url_params, body_params) + response = Epom::Zone.get_zone_placements(url_params, body_params) assert_instance_of Array, response if response.count > 0 first = response[0] assert_instance_of Fixnum, first['id'] assert_instance_of String, first['name'] \ No newline at end of file