mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix specs.
This commit is contained in:
parent
857986e2c0
commit
2d2998f5e0
@ -48,7 +48,7 @@ describe ComposerMessagesFinder do
|
|||||||
let(:finder) { ComposerMessagesFinder.new(user, composer_action: 'createTopic', topic_id: topic.id) }
|
let(:finder) { ComposerMessagesFinder.new(user, composer_action: 'createTopic', topic_id: topic.id) }
|
||||||
|
|
||||||
it 'should return an empty string' do
|
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
|
end
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ describe ComposerMessagesFinder do
|
|||||||
let(:finder) { ComposerMessagesFinder.new(user, composer_action: 'reply', topic_id: topic.id) }
|
let(:finder) { ComposerMessagesFinder.new(user, composer_action: 'reply', topic_id: topic.id) }
|
||||||
|
|
||||||
it 'should return an empty string' do
|
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
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user