mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Remove DiscourseEvent.clear
.
This commit is contained in:
parent
e0a2346b92
commit
aa9decf6fd
4 changed files with 5 additions and 17 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue