RSpec problems on a toy program/script

I’m running WinXP-Pro/SP2 with:
• ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
• RSpec-1.1.4 (build 20080526202855) - BDD for Ruby

I posted as
• BankAccount_for_RSpec.rb, a toy program for opening and using a bank
• TestBankAccount.rb, an attempted RSpec script to test the
aforementioned program
• Error messages for the latter script

I followed David C.’s suggestions at
I got a lot of syntax errors such as:
• “:” unexpected
• Parentheses for arguments required

I addressed those whiney complaints to arrive at the slimmed down
version that I posted. Now I’m stuck with error messages I don’t know
how to deal with. Any suggestions would be most appreciated.


I found a great site that answers all the questions I raised here, and

On Aug 19, 8:26 am, RichardOnRails