From 2d2998f5e0b3ec343f0f4c469f03196bbbbe175d Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 9 Nov 2016 11:31:53 +0800 Subject: [PATCH] Fix specs. --- spec/components/composer_messages_finder_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/components/composer_messages_finder_spec.rb b/spec/components/composer_messages_finder_spec.rb index 706c8f7f0cb..8bc709e58ad 100644 --- a/spec/components/composer_messages_finder_spec.rb +++ b/spec/components/composer_messages_finder_spec.rb @@ -48,7 +48,7 @@ describe ComposerMessagesFinder do let(:finder) { ComposerMessagesFinder.new(user, composer_action: 'createTopic', topic_id: topic.id) } it 'should return an empty string' do - expect(finder.check_education_message).to eq('') + expect(finder.check_education_message).to eq(nil) end end @@ -56,7 +56,7 @@ describe ComposerMessagesFinder do let(:finder) { ComposerMessagesFinder.new(user, composer_action: 'reply', topic_id: topic.id) } it 'should return an empty string' do - expect(finder.check_education_message).to eq('') + expect(finder.check_education_message).to eq(nil) end end end