mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 20:01:14 +08:00
Remove DiscourseEvent.clear
.
This commit is contained in:
@ -16,14 +16,6 @@ describe DiscourseEvent do
|
||||
end
|
||||
end
|
||||
|
||||
describe ".clear" do
|
||||
it "clears out events" do
|
||||
DiscourseEvent.events["event42"] << "test event"
|
||||
DiscourseEvent.clear
|
||||
expect(DiscourseEvent.events).to be_empty
|
||||
end
|
||||
end
|
||||
|
||||
context 'when calling events' do
|
||||
|
||||
let(:harvey) {
|
||||
|
Reference in New Issue
Block a user