Browse Source

Add test

closed-social-glitch-2
Claire 2 years ago
parent
commit
55ba907108
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      spec/lib/advanced_text_formatter_spec.rb

+ 4
- 0
spec/lib/advanced_text_formatter_spec.rb View File

@ -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…
Cancel
Save