Re: [rspec-users] Basic help

2009-03-19 Thread jazzez ravi
Zach Dennis wrote: > On Thu, Mar 19, 2009 at 5:28 AM, jazzez ravi > wrote: >> �before(:each) do >> class Bowling >> >> require 'spec' --> �No Error But also no output mentioned as per that >> website. >> >> Please anyone help to continue that program. > > Try to put this at the top: > > require

Re: [rspec-users] Basic help

2009-03-19 Thread jazzez ravi
David Chelimsky wrote: > On Thu, Mar 19, 2009 at 4:28 AM, jazzez ravi > wrote: >> �before(:each) do >> class Bowling >> >>>ruby bowling_spec.rb --format specdoc > > Use the spec command (that's what's there on http://rspec.info): > > spec bowling_spec.rb --format specdoc > > Cheers, > David H

Re: [rspec-users] Basic help

2009-03-19 Thread Zach Dennis
On Thu, Mar 19, 2009 at 5:28 AM, jazzez ravi wrote: > Hi All, > > 1. Just now I installed rspec1.2.0 and dependencies > > 2. Tried the 2 programs mentioned in http://rspec.info/. > > # bowling_spec.rb > require 'bowling' > > describe Bowling do >  before(:each) do >   �...@bowling = Bowling.new >

Re: [rspec-users] Basic help

2009-03-19 Thread David Chelimsky
On Thu, Mar 19, 2009 at 4:28 AM, jazzez ravi wrote: > Hi All, > > 1. Just now I installed rspec1.2.0 and dependencies > > 2. Tried the 2 programs mentioned in http://rspec.info/. > > # bowling_spec.rb > require 'bowling' > > describe Bowling do >  before(:each) do >   �...@bowling = Bowling.new >

[rspec-users] Basic help

2009-03-19 Thread jazzez ravi
Hi All, 1. Just now I installed rspec1.2.0 and dependencies 2. Tried the 2 programs mentioned in http://rspec.info/. # bowling_spec.rb require 'bowling' describe Bowling do before(:each) do @bowling = Bowling.new end it "should score 0 for gutter game" do 20.times { @bowling.hit(