RichardOnRails
2008-Aug-22 16:46 UTC
How to find/open Spec::Expectations and Spec::Matchers
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
David Chelimsky
2008-Aug-22 22:30 UTC
Re: How to find/open Spec::Expectations and Spec::Matchers
On Fri, Aug 22, 2008 at 11:46 AM, RichardOnRails <RichardDummyMailbox58407-gP6xRNRnnqSxhq/XJNNIW0EOCMrvLtNR@public.gmane.org> 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> > 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 > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RichardOnRails
2008-Aug-23 20:35 UTC
Re: How to find/open Spec::Expectations and Spec::Matchers
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 On Aug 22, 6:30 pm, "David Chelimsky" <dchelim...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Aug 22, 2008 at 11:46 AM, RichardOnRails > > <RichardDummyMailbox58...-gP6xRNRnnqSxhq/XJNNIW0EOCMrvLtNR@public.gmane.org> wrote: > > > Hi, > > > Then RSpec 1.4 recommends, in the webpagehttp://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 tohttp://rspec.info/rdoc/index.htmland you''ll see > links to docs for both modules. > > Cheers, > David > > > > > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---