Re: [rspec-users] Features and conditions for those to be executed

2008-11-24 Thread Luis Lavena
On Mon, Nov 24, 2008 at 2:02 PM, Joseph Wilk <[EMAIL PROTECTED]> wrote: > Andrew Premdas wrote: >> >> Assuming you're writing a feature for a black box that works under >> linux, osx but not under windows. Can you not write a features like >> >> Given I'm on windows >> When I run black box >> I sho

Re: [rspec-users] Features and conditions for those to be executed

2008-11-24 Thread Joseph Wilk
Andrew Premdas wrote: Assuming you're writing a feature for a black box that works under linux, osx but not under windows. Can you not write a features like Given I'm on windows When I run black box I should get an error ... Given I'm on OSX When I run black box I should not get an error ... J

Re: [rspec-users] Features and conditions for those to be executed

2008-11-24 Thread Luis Lavena
On Mon, Nov 24, 2008 at 1:47 PM, Andrew Premdas <[EMAIL PROTECTED]> wrote: > Assuming you're writing a feature for a black box that works under > linux, osx but not under windows. Can you not write a features like > > Given I'm on windows > When I run black box > I should get an error ... > > Given

Re: [rspec-users] Features and conditions for those to be executed

2008-11-24 Thread Andrew Premdas
Assuming you're writing a feature for a black box that works under linux, osx but not under windows. Can you not write a features like Given I'm on windows When I run black box I should get an error ... Given I'm on OSX When I run black box I should not get an error ... Just an idea, HTH Andrew