Hi,
Then RSpec 1.4 recommends, in the webpage
http://rspec.info/documentation/expectations.html,
referencing the subject items.
I’m running ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] over
WinXP-Pro/SP2.
I believe I installed RSpec with a Ruby gem. At least, I think that’s
confirmed because I have a lot of stuff in the directory K:_Utilities
\ruby186-26_rc2\ruby\lib\ruby\gems\1.8\doc\rspec-1.1.4
I didn’t find any Expectations or Matchers in the rspec-1.1.4
directory. So, how can I find and open these files for reading?
Thanks in Advance,
Richard
On Fri, Aug 22, 2008 at 11:46 AM, RichardOnRails
[email protected] wrote:
Hi,
Then RSpec 1.4 recommends, in the webpage http://rspec.info/documentation/expectations.html,
referencing the subject items.
It also has a link to the RDoc:
See Spec::Expectations and Spec::Matchers in the RDoc for more
information.
Follow that link to http://rspec.info/rdoc/index.html and you’ll see
links to docs for both modules.
Cheers,
David
Hi David,
I finally “got it”. The documentation is great!
I’m new to testing. I tried Ruby’s unit testing a little but thought
it was tedious. (I probably didn’t know what I was doing anyway.) The
B’more on Rails group did a presentation on RSpec this month. It
persuaded me to try that tack.
Now I’ve developed a small Ruby app using the loop: write-a-little-
spec / write-just-enough-code / refactor-occasionally.
I’m hooked. Thanks for RSpec.
Best wishes,
Richard