From 54a8c60e5907ef20a5ceb5ab2c86a933e06f3ece Mon Sep 17 00:00:00 2001 From: nullkal Date: Fri, 20 Oct 2017 05:20:43 +0900 Subject: [PATCH] Make the test be passed --- spec/lib/formatter_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/lib/formatter_spec.rb b/spec/lib/formatter_spec.rb index 71b6b78d2f..147b6b1f18 100644 --- a/spec/lib/formatter_spec.rb +++ b/spec/lib/formatter_spec.rb @@ -234,7 +234,7 @@ RSpec.describe Formatter do let(:text) { ':coolcat: Beep boop' } it 'converts shortcode to image tag' do - is_expected.to match(/:coolcat: Beep boop' } it 'converts shortcode to image tag' do - is_expected.to match(/Beep :coolcat: boop' } it 'converts shortcode to image tag' do - is_expected.to match(/Beep Beep boop:coolcat:
:coolcat: Beep boop' } it 'converts shortcode to image tag' do - is_expected.to match(/
Beep :coolcat: boop