module ThoughtBot::Shoulda::Controller::Macros

def should_respond_with(response)

should_respond_with :success

Example:
Macro that creates a test asserting that the controller responded with a 'response' status code.
def should_respond_with(response)
  should "respond with #{response}" do
    assert_response response
  end
end