Here is my code:
account_double.should_receive(:withdraw).and_raise
I get the output:
1) Statement uses the customer's name in the header
Failure/Error: Unable to find matching line from backtrace
Exception
# ./spec/codebreaker/test.rb:8:in `generate'
# ./spec/codebreaker/test.rb:20
# /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject'
It cannot find Exception. How could I get this test to pass?
I dont understand the picture