module Shoulda::Matchers::ActionController

def use_after_action(callback)

it { should_not use_after_action(:destroy_user) }
it { should use_after_action(:log_activity) }

Example:

Ensure a controller uses a given after_action
def use_after_action(callback)
  CallbackMatcher.new(callback, :after, :action)
end