Object
@private
# File lib/shoulda/matchers/action_controller/route_params.rb, line 22 def controller_and_action_given_as_string? args[0].is_a?(String) end
# File lib/shoulda/matchers/action_controller/route_params.rb, line 26 def extract_params_from_string params = args[1] || {} controller, action = args[0].split('#') params.merge!(controller: controller, action: action) end
Generated with the Darkfish Rdoc Generator 2.