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 http://www.pastie.org/pastes/255594: • BankAccount_for_RSpec.rb, a toy program for opening and using a bank account • TestBankAccount.rb, an attempted RSpec script to test the aforementioned program • Error messages for the latter script I followed David Chelimsky’s suggestions at http://blog.davidchelimsky.net/articles/2007/10/22/plain-text-stories-on-rails. 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. Regards, Richard
on 19.08.2008 14:27
on 20.08.2008 07:00
I found a great site that answers all the questions I raised here, and more: http://www.ibm.com/developerworks/web/library/wa-rspec/ On Aug 19, 8:26 am, RichardOnRails