fix publish_event and publish_events RSpec matchers