Skip to content

Commit

Permalink
Get tests passing on 1.8.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Mar 23, 2012
1 parent c27de41 commit 31b140f
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -52,7 +52,11 @@ def matches?(subject)
@queries << payload unless filter_query(payload[:name])
end

subject.send(@method_name, *@method_arguments)
if @method_arguments
subject.send(@method_name, *@method_arguments)
else
subject.send(@method_name)
end

ActiveSupport::Notifications.unsubscribe(subscriber)

Expand Down

0 comments on commit 31b140f

Please sign in to comment.