# File lib/merb-core/test/matchers/controller_matchers.rb, line 49 def matches?(target) @target, @location = target, target.headers['Location'] @redirected = BeRedirect.new.matches?(target.status) @location == @expected && @redirected end