chore: Update dependencies to the latest versions (#5033)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user