parent
be83d450eb
commit
f937cad68f
2 changed files with 12 additions and 0 deletions
|
@ -46,6 +46,14 @@ RSpec.describe Formatter do
|
|||
end
|
||||
end
|
||||
|
||||
context 'with cashtag' do
|
||||
let(:local_text) { 'Hello world $AAPL' }
|
||||
|
||||
it 'skip cashtag' do
|
||||
expect(subject).to match '<p>Hello world $AAPL</p>'
|
||||
end
|
||||
end
|
||||
|
||||
context 'with reblog' do
|
||||
let(:local_status) { Fabricate(:status, account: account, reblog: Fabricate(:status, text: 'Hello world', account: account)) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue