Re: [rspec-users] BDD for C#?

2009-04-24 Thread Ben Mabey
Brandon Olivares wrote: Hi, I know this is slightly off topic, but I'm having trouble finding something, and wondered if anyone here had experience with any BDD frameworks for C#. I found NBehave (http://www.codeplex.com/NBehave), but it seems a little out of date (last release says 2007 I thin

Re: [rspec-users] rspec-rails fails to find a controller name

2009-04-24 Thread Jonathan Linowes
I assume you tried it with the 3 lines (including get :index) uncommented On Apr 24, 2009, at 1:32 PM, wrote: Hi, I have a problem that seems a bit strange. No matter how I specify the controller name in a rails controller rspec I am always presented with 'HostController Retrie

[rspec-users] BDD for C#?

2009-04-24 Thread Brandon Olivares
Hi, I know this is slightly off topic, but I'm having trouble finding something, and wondered if anyone here had experience with any BDD frameworks for C#. I found NBehave (http://www.codeplex.com/NBehave), but it seems a little out of date (last release says 2007 I think). I also found this post

[rspec-users] [Cucumber] call the (Treetop?) parser directly?

2009-04-24 Thread Phlip
Cucumberists: The sample code: require 'treetop' require 'cucumber' require 'cucumber/parser' require 'cucumber/parser/treetop_ext' # too many requires because fishing around! include Cucumber include Parser include Feature @parser = FeatureParser.new exp = @parser.parse_or_fail(%{

[rspec-users] Background and scenario outline interaction

2009-04-24 Thread Jim Morris
Hi, I was surprised by this so I suspect it may be a bug. I have a Scenario Outline, and a Background in my Feature and nothing else, The Background got executed 1 more time than expected. Details are the Scenario Outline had 4 entries in the table, so I expected 4 scenarios to get executed, an

[rspec-users] rspec-rails fails to find a controller name

2009-04-24 Thread Paul.Kelly
Hi, I have a problem that seems a bit strange. No matter how I specify the controller name in a rails controller rspec I am always presented with 'HostController Retrieving /host via GET should redirect if not logged in' FAILED Controller specs need to know what controller is being speci

Re: [rspec-users] Cucumber ".should contain(expected) does but fails anyway

2009-04-24 Thread James Byrne
James Byrne wrote: > > Patch is on Lighthouse. > > https://rspec.lighthouseapp.com/projects/5645-rspec/tickets/804 > Besides Fixnum, are there any other Ruby Class Objects that do not have a virtual class? -- Posted via http://www.ruby-forum.com/. ___

Re: [rspec-users] Cucumber ".should contain(expected) does but fails anyway

2009-04-24 Thread Pat Maddox
On Wed, Apr 22, 2009 at 12:18 PM, David Chelimsky wrote: > On Wed, Apr 22, 2009 at 2:09 PM, James Byrne wrote: >> David Chelimsky wrote: >>> On Wed, Apr 22, 2009 at 1:45 PM, James Byrne >>> wrote: this worked: I am not throwing out RSpec or using it any less. �I just had to get �

Re: [rspec-users] Style issue

2009-04-24 Thread James Byrne
Matt Wynne wrote: > Slightly off-topic, but it seems a bit weird to have the word 'should' > in a When step to me. Are these really Then steps? > Actually, all of my step definitions are always Thens. This one is a cut & paste artifact that I overlooked. -- Posted via http://www.ruby-forum.co

[rspec-users] [Rspec, Cucumber] About the use of Scenario Outline for validation stuff

2009-04-24 Thread Jérémy FRERE
Hi there ! I was wondering if the way I test the validation of my forms is right or not. So here's a little example : Imagine you have a form with some validations designed to create some object. You want to test it using Scenario Outline and Examples. So you fill in the fields using , and press th

Re: [rspec-users] Cucumber ".should contain(expected) does but fails anyway

2009-04-24 Thread James Byrne
David Chelimsky wrote: > BTW - FWIW, this is a classic example of how OSS should work. User > gets frustrated. User solves problem through contribution. Thanks for > playing! Patch is on Lighthouse. https://rspec.lighthouseapp.com/projects/5645-rspec/tickets/804 I did this on my laptop so some

Re: [rspec-users] Style issue

2009-04-24 Thread Matt Wynne
On 23 Apr 2009, at 20:05, James Byrne wrote: In one of my features I have to check to see if a file is created by an external script and then determine if that file contains specific information. So, I ended up with these step definitions: When /currency exchange rate transfer file should