Make level_value accept string integers
When a VisibilityLevel is an integer formatted as a string, convert it
to an integer, instead of looking it up in the hash map.
When the value is not recognized, default to PRIVATE.
Showing
spec/lib/gitlab/visibility_level_spec.rb
0 → 100644
Please
register
or
sign in
to comment