Re: [rspec-users] How do you get example full description in Rspec 1.2.x?

2009-08-13 Thread John Kolokotronis
Thanks David, I didn't realize it was so easy to add the method back in (class.description never occurred to me) so including it in my spec_helper file sorts my problem for now and I can use Rspec 1.2.8. I've logged a ticket as requested: https://rspec.lighthouseapp.com/projects/5645-rspec/tickets

[rspec-users] How do you get example full description in Rspec 1.2.x?

2009-08-11 Thread John Kolokotronis
Hi All, I've been using Rspec 1.1.8 for some time now and even though I am not sure I'm doing this the best way possible, it allowed to get a full description block of a nested example but Rspec 1.2.8 does not seem to have the method I was using (__full_description). My example groups would look l

Re: [rspec-users] [Rspec] How do you nest before(:all) or after(:all) blocks?

2009-02-05 Thread John Kolokotronis
> Have you considered using Cucumber rather than RSpec as the driver to   > run these tests? TBH, I haven't really looked at Cucumber much, as I'm just getting started with Rspec itself. My impression though was that Cucumber replaced the story runner and the way my tests are structured just seem

Re: [rspec-users] [Rspec] How do you nest before(:all) or after(:all) blocks?

2009-02-04 Thread John Kolokotronis
> Why do you want before(:all)?  Generally it's use is disregarded, just > as global variables are considered harmful, not because they can't be > used well, but because 99% of the times they aren't. Because I want to be able to create a single @browser object at the beginning of my tests and have

Re: [rspec-users] [Rspec] How do you nest before(:all) or after(:all) blocks?

2009-02-04 Thread John Kolokotronis
sky wrote: > On Wed, Feb 4, 2009 at 3:07 AM, John Kolokotronis wrote: > > Hi all, > > > I'm new to Rspec but loving it so far and looking to use it as a > > replacement for a Test::Unit framework I have which drives a web app > > via Watir. So far, things have worke

[rspec-users] [Rspec] How do you nest before(:all) or after(:all) blocks?

2009-02-04 Thread John Kolokotronis
Hi all, I'm new to Rspec but loving it so far and looking to use it as a replacement for a Test::Unit framework I have which drives a web app via Watir. So far, things have worked very well with Rspec but I can't get my head around how before/after(:all) blocks would work in nested groups, or even