use Twitter::Extractor for creating links (#2502)
This commit is contained in:
parent
bcfd9a2f8e
commit
d08f1112d5
4 changed files with 108 additions and 44 deletions
|
@ -379,6 +379,10 @@ RSpec.describe Account, type: :model do
|
|||
it 'does not match URLs' do
|
||||
expect(subject.match('Check this out https://medium.com/@alice/some-article#.abcdef123')).to be_nil
|
||||
end
|
||||
|
||||
xit 'does not match URL querystring' do
|
||||
expect(subject.match('https://example.com/?x=@alice')).to be_nil
|
||||
end
|
||||
end
|
||||
|
||||
describe 'validations' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue