Skip to content

Commit

Permalink
Create input_validator_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Sep 20, 2024
1 parent 988af03 commit bc220e1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions global_business/business/spec/lib/input_validator_spec.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bc220e1

Please sign in to comment.