Often, when a test fails, I spend quite sometime trying to figure out the what caused it to fail. It\'d be useful if RSpec could kick off a Ruby debugger when the test fails, so
You can try hammertime. It will stop and prompt to take you into an interactive debugging session whenever an exception is raised.