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 I'm on OSX
> When I run black box
> I should not get an error ...
>
> Just an idea, HTH
>

Yeah, your idea looks good.

Wonder if this should be defined as a pending step or it should
generate an skipped one?
-- 
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to