Fix specs.

This commit is contained in:
Guo Xiang Tan 2016-11-09 11:31:53 +08:00
parent 857986e2c0
commit 2d2998f5e0
1 changed files with 2 additions and 2 deletions

View File

@ -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