chore: Update dependencies to the latest versions (#5033)

This commit is contained in:
Sojan Jose 2022-07-15 04:51:59 +02:00 committed by GitHub
parent ea1a27c7d4
commit 4187428729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
122 changed files with 546 additions and 526 deletions

View file

@ -4,11 +4,11 @@ describe UrlHelper, type: :helper do
describe '#url_valid' do
context 'when url valid called' do
it 'return if valid url passed' do
expect(helper.url_valid?('https://app.chatwoot.com/')).to eq true
expect(helper.url_valid?('https://app.chatwoot.com/')).to be true
end
it 'return false if invalid url passed' do
expect(helper.url_valid?('javascript:alert(document.cookie)')).to eq false
expect(helper.url_valid?('javascript:alert(document.cookie)')).to be false
end
end
end