chore: Update dependencies to the latest versions (#5033)
This commit is contained in:
parent
ea1a27c7d4
commit
4187428729
122 changed files with 546 additions and 526 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue