Re: [rspec-users] RSpec newbie

2012-11-24 Thread Perry Smith
On Nov 24, 2012, at 3:00 AM, Andrew Premdas wrote: > The book is quite old now. It still has great value for understanding core > BDD principles, and for covering the range of things you can do with RSpec, > but if you use it as a guide to follow step by step without sufficient > background un

Re: [rspec-users] RSpec newbie

2012-11-24 Thread David Paschich
Plow through the other chapters. They cover the basics of BDD using Rspec, as would apply to any project written in Ruby. The later chapters talk about the specific application to Rails, but you'll need the background from the earlier chapters to make best use of it. On Friday, November 23, 201

Re: [rspec-users] RSpec newbie

2012-11-24 Thread Guirec Corbel
If you want to learn fast, you can also do the codeschool's course here : http://www.codeschool.com/courses/testing-with-rspec. Fun and fast. Good luck. If you want to share the code on github, contact me and I can comment your project. Le 2012-11-24 04:00, Andrew Premdas a écrit : On 24

Re: [rspec-users] RSpec newbie

2012-11-24 Thread Andrew Premdas
On 24 November 2012 03:24, Perry Smith wrote: > I've never really done BDD or TDD. I've done various tests but not really > allowing the tests to direct the development > > I've read various books and I bought the RSpec book and was reading it -- > up to chapter 4. > > Today while torquing with

Re: [rspec-users] RSpec newbie ran rspec 2.4 on WinXP, got HOME undefined

2011-01-11 Thread Luis Lavena
On Mon, Jan 10, 2011 at 6:37 PM, RichardOnRails wrote: > Hi, > > I'm running WinXP-Pro/SP3 & Ruby 1.8.6 > > I just got the RSpec Book and successfully ran > gem install rspec --version 2.0.0 > per the book's suggestion. > > In a Command window, I ran > K:\>rspec -v > and got: > K:/_Utilities/ruby1

Re: [rspec-users] RSpec newbie ran rspec 2.4 on WinXP, got HOME undefined

2011-01-10 Thread RichardOnRails
Hi Simon, > Sounds like rspec is relying on some *NIX stuff here Yeah, I recognized that it was looking for a home directory on a *nix box, but I couldn't think of a counterpart on Windows, because I've only got a slew of partitions (C:\, D:\ ...) but no home. You came up with a good insight.

Re: [rspec-users] RSpec newbie ran rspec 2.4 on WinXP, got HOME undefined

2011-01-10 Thread Simon Hafner
On Monday 10 January 2011 22.37:46 RichardOnRails wrote: > Hi, > > I'm running WinXP-Pro/SP3 & Ruby 1.8.6 > > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rspec- > core-2.4.0/lib/rspec/core/configuration_options.rb:9:couldn't find > HOME environment -- expanding `~' (ArgumentError) >