# File lib/timeline_fu/macros.rb, line 3 def should_fire_event(event_type, opts = {}) should "fire #{event_type} on #{opts[:on]}" do matcher = fire_event(event_type, opts) assert_accepts matcher, self.class.name.gsub(/Test$/, '').constantize end end