lib/api-tester/definition/fields/boolean_field.rb in api-tester-0.3.1 vs lib/api-tester/definition/fields/boolean_field.rb in api-tester-1.0.0
- old
+ new
@@ -1,10 +1,10 @@
require 'api-tester/definition/fields/field'
module ApiTester
class BooleanField < Field
- def initialize(name, default_value=true)
- super(name, default_value)
+ def initialize name:, default_value: true
+ super name: name, default_value: default_value
end
def negative_boundary_values
super +
[