mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Add test
This commit is contained in:
parent
fe65c0e44f
commit
55ba907108
@ -40,6 +40,10 @@ RSpec.describe AdvancedTextFormatter do
|
||||
it 'formats code using <pre> and <code>' do
|
||||
is_expected.to include '<pre><code>int main'
|
||||
end
|
||||
|
||||
it 'does not strip leading spaces' do
|
||||
is_expected.to include '> return 0'
|
||||
end
|
||||
end
|
||||
|
||||
context 'given some quote' do
|
||||
|
Loading…
Reference in New Issue
Block a user