Re: [rspec-users] The problem with learning RSpec

2009-06-27 Thread oren
Thank you so much Stephen. I am ruby and rails beginner (created a simple site so far) that decided to dive into rspec and I feel the pains you described. I decided to start new rails app and do it with rspec (and to only test my models). Is there a github project with rspec code that test the m

Re: [rspec-users] The problem with learning RSpec

2009-06-27 Thread oren
Thank you so much Stephen. I am ruby and rails beginner (created a simple site so far) that decided to dive into rspec and I feel the pains you described. I decided to start new rails app and do it with rspec (and to only test my models). is there a github project with rspec code that test the mo

Re: [rspec-users] The problem with learning RSpec

2009-06-27 Thread oren
Thank you so much Stephen. I am ruby and rails beginner (created a simple site so far) that decided to dive into rspec and I feel the pains you described. I decided to start new rails app and do it with rspec (and to only test my models). Is there a github project with rspec code that test the m

Re: [rspec-users] The problem with learning RSpec

2009-06-27 Thread oren
test On Jun 12, 9:41 am, Stephen Eley wrote: > Ben and Rick, > > Thanks very much to both of you for the encouraging responses.  Your > reply, Ben, came just in time as I was starting to wonder if I had > made a complete and irrevocable ass of myself. > > On Fri, Jun 12, 2009 at 10:36 AM, Ben Mab

Re: [rspec-users] The problem with learning RSpec

2009-06-18 Thread Bill Kocik
Thanks for the encouragement, Ben. :) On Thu, Jun 18, 2009 at 1:36 PM, Ben Mabey wrote: >> Then /^I should find "(.+)" in JSON/ do |xpath| >>  json_hash = JSON.parse(@response.body.gsub(/^#{JSON_CALLBACK}\((.*)\)/, >> '\1')) >>  xmldoc = Nokogiri::XML(json_hash.to_xml) >>  xpath.gsub!('_', '-'

Re: [rspec-users] The problem with learning RSpec

2009-06-18 Thread Ben Mabey
Bill Kocik wrote: Just to add a couple cents in... I've been working as either a sysadmin or software developer for the last 10 years (software development pretty much exclusively for the last 5 or 6). I started picking up Rails about 2 years ago, and though I was always aware of TDD - and even

Re: [rspec-users] The problem with learning RSpec

2009-06-18 Thread Bill Kocik
Just to add a couple cents in... I've been working as either a sysadmin or software developer for the last 10 years (software development pretty much exclusively for the last 5 or 6). I started picking up Rails about 2 years ago, and though I was always aware of TDD - and even occasionally dabbled

[rspec-users] The problem with learning RSpec

2009-06-18 Thread Sarah Allen
I read this whole thread with interest (alerted by a cross-post on the railsbridge list, thx Zach). Thanks Stephen for kicking off this interesting discussion: > Given time, I think the patterns facilitated by RSpec could > *completely* revolutionize the way software happens everywhere, *if

Re: [rspec-users] The problem with learning RSpec

2009-06-13 Thread Ben Mabey
Stephen Eley wrote: Ben and Rick, Thanks very much to both of you for the encouraging responses. Your reply, Ben, came just in time as I was starting to wonder if I had made a complete and irrevocable ass of myself. On Fri, Jun 12, 2009 at 10:36 AM, Ben Mabey wrote: In general though I do

Re: [rspec-users] The problem with learning RSpec

2009-06-12 Thread Stephen Eley
Ben and Rick, Thanks very much to both of you for the encouraging responses. Your reply, Ben, came just in time as I was starting to wonder if I had made a complete and irrevocable ass of myself. On Fri, Jun 12, 2009 at 10:36 AM, Ben Mabey wrote: > In general though I don't know if I > really s

Re: [rspec-users] The problem with learning RSpec

2009-06-12 Thread Ben Mabey
I'm rambling now, and I've spent *way* too much of my workday on this message, so I'll just summarize: * Some easy things are complicated in RSpec; * Incomplete understanding of RSpec and a framework being spec'ed can create learning deadlock; * Novices need different answers than competent pra

Re: [rspec-users] The problem with learning RSpec

2009-06-11 Thread Rick DeNatale
On Thu, Jun 11, 2009 at 2:48 PM, Stephen Eley wrote: > So...  In the recent five-hundred-and-forty-seventh iteration of the > "What's the point of mocks?" discussion on this list, David Chelimsky > ended a message with: > >> [ . . . ]   Really, I think >> that's what we should all be striving for.

[rspec-users] The problem with learning RSpec

2009-06-11 Thread Stephen Eley
So... In the recent five-hundred-and-forty-seventh iteration of the "What's the point of mocks?" discussion on this list, David Chelimsky ended a message with: > [ . . . ] Really, I think > that's what we should all be striving for. Not so much "should I use > mocks or not," but "when should I