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
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
2009/6/18 Ben Mabey
> David Chelimsky wrote:
>
>> On Wed, Jun 17, 2009 at 10:14 AM, Andrew Premdas
>> wrote:
>>
>>
>>> Please have a look at
>>> http://gist.github.com/131277
>>> What I'd like to do is create a shared_examples group which I can
>>> parametize
>>> a method. So my shared example wo
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
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!('_', '-'
I fixed this problem, I was only checking for a partial string rather than
the full string in the element. The way I discovere dit for those who are
interested was by printing out the response.body object so that I could view
the actuall content I was testing against.:jumping:
--
View this messag
On 16 Jun 2009, at 22:11, Tim Harper wrote:
I'm interested to hear your experience with Spork and Merb. Right
now Spork is doing some hooks in to rails (that are actually kind of
aggressive right now) to help make spork work more out of the box -
specifically, preventing rails from preload
John Small wrote:
> Well I can't help you but I do have a similar problem. In my case
> Cucumber-Selenium works, Cucumber-Webrat works but Cucmber-Webrat-
> Selenium doesn't work because Webrat issues requests to www.example.com
> and Selenium starts up a mongrel on localhost:3001, connects to it v