[rspec-users] Strange issue with the 'its' construct

2010-05-20 Thread Tom Ten Thij
The 'its' construct seems to not be working for me. I have narrowed it down to a basic example that I think should be working. Note that when I use a normal 'it' block with a subject in it, that works fine. Any insights would be welcome: http://gist.github.com/407789 Cheers, Tom. == Below is jus

Re: [rspec-users] Strange issue with the 'its' construct

2010-05-20 Thread Tom Ten Thij
David Chelimsky wrote: > Please file a bug at https://rspec.lighthouseapp.com/projects/5645-rspec > if there's not one already. I was unable to find one, so I created this: https://rspec.lighthouseapp.com/projects/5645-rspec/tickets/998-explicit-subject-block-in-a-controller-spec-returns-the-cont

[rspec-users] Cucumber for large projects

2009-03-01 Thread Tom ten Thij
We will be using Cucumber for a fairly large project. Are there any areas that cucumber is lacking when there are many scenarios? I believe the best candidate for showing our client the scenario results is the html output. It strikes me that that becomes fairly cumbersome to check with many scenar

Re: [rspec-users] Cucumber 0.2 final release date?

2009-03-06 Thread Tom Ten thij
> I'm afraid I can't give a release date. 0.2 is fixed(ish) scope, and > therefore time can't be fixed at the same time. I have a lot of travel > the next month, so it will take a least a month I'm afraid. I know I for one would sure like to see 0.2 come out soon. The scope of the two 0.2 ticket

Re: [rspec-users] nokogiri selector help

2009-03-10 Thread Tom Ten Thij
> Sorry for the late reply, but this is a bug in webrat not a nokogiri > issue. I've created a ticket for it at lighthouse: > > http://webrat.lighthouseapp.com/projects/10503-webrat/tickets/153-within-should-support-xpath I wrote an ugly duckpunch that fixes the error for now. I have submitted

[rspec-users] [cucumber] Creating an item without worrying about validity?

2009-03-20 Thread Tom Ten Thij
In order to check at the cucumber level if permissions are working correctly I am trying to write a cucumber scenario that tests if a logged in user can create a certain model. The step I am trying to implement is 'When I post valid attributes of a frooble'. What I have been trying to do is build