spec/features/validation_spec.rb in qonfig-0.27.0 vs spec/features/validation_spec.rb in qonfig-0.28.0

- old
+ new

@@ -45,11 +45,11 @@ specify 'fails when required predefined validator does not exist' do # NOTE: incorrect name => error expect do Class.new(Qonfig::DataSet) do - validate '*', 1923923 + validate '*', 1_923_923 end end.to raise_error(Qonfig::ValidatorArgumentError) # NOTE: nonexistent predefined validator => error expect do @@ -176,10 +176,10 @@ end end specify 'validates invalid settings on instnation' do config_klass = Class.new(Qonfig::DataSet) do - setting :telegraf_url, 12345 # NOTE: should be a string + setting :telegraf_url, 12_345 # NOTE: should be a string validate 'telegraf_url' do |value| value.is_a?(String) end end