parent
78a6b871fe
commit
9965a23b04
2 changed files with 23 additions and 1 deletions
|
@ -66,6 +66,14 @@ RSpec.describe Account::Field, type: :model do
|
|||
end
|
||||
end
|
||||
|
||||
context 'for an IDN URL' do
|
||||
let(:value) { 'http://twitter.com∕dougallj∕status∕1590357240443437057.ê.cc/twitter.html' }
|
||||
|
||||
it 'returns false' do
|
||||
expect(subject.verifiable?).to be false
|
||||
end
|
||||
end
|
||||
|
||||
context 'for text that is not a URL' do
|
||||
let(:value) { 'Hello world' }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue