On Jun 1, 8:04 pm, Arthur Smith <apsm...@aps.org> wrote:
> I thought the point was we don't want the examples to be run at all, if
> the condition is not met?

Yes.

>Though I'm wondering why not just handle
> something like this with a stub (on System.getProperty in this case)?

Because the examples need the info in the property to work. The
property provides
reference values that the test use to compare against. Hence it makes
no sense to stub
anything out.

ALL: Thanks for all the help!

/Morten
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to