From bc220e10f069fcd02ab4e7538408faf4e1ed7267 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Fri, 20 Sep 2024 17:27:29 +0700 Subject: [PATCH] Create input_validator_spec.rb --- .../business/spec/lib/input_validator_spec.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 global_business/business/spec/lib/input_validator_spec.rb diff --git a/global_business/business/spec/lib/input_validator_spec.rb b/global_business/business/spec/lib/input_validator_spec.rb new file mode 100644 index 000000000..21a4a51c9 --- /dev/null +++ b/global_business/business/spec/lib/input_validator_spec.rb @@ -0,0 +1,10 @@ +require 'rails_helper' + +RSpec.describe InputValidator do + describe '#validate' do + it 'validates the given input' do + input = 'hello world' + expect(InputValidator.validate(input)).to be_truthy + end + end +end