test/test_context_shape.rb in prefab-cloud-ruby-1.2.1 vs test/test_context_shape.rb in prefab-cloud-ruby-1.3.0
- old
+ new
@@ -34,10 +34,9 @@
end
end
# If this test fails, it means that we've added a new type to the ConfigValue
def test_mapping_is_exhaustive
- #this removes provided for now
unsupported = [:bytes, :limit_definition, :log_level, :weighted_values, :int_range, :provided]
type_fields = PrefabProto::ConfigValue.descriptor.lookup_oneof("type").entries
supported = type_fields.entries.reject do |entry|
unsupported.include?(entry.name.to_sym)
end.map(&:number)