mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 13:35:20 -05:00
Fix specs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user