[rspec-users] testing a collection

2011-02-11 Thread GregD
st have to write an integration test with fixtures, sending the data and then testing results. Any ideas other than find a java testing tool, because I just try to avoid java but can't since it is how I have to pay the bills. :( Thanks, GregD ___

[rspec-users] Can you control $stdout when specs are running?

2010-09-30 Thread GregD
wrong. And I'm not sure this is desirable if the test fails. Any ideas on this other than to replace the java with ruby or have the java not to dump to stdout? ;-) Both of which, I can not do. But, I can live with the nastiness of this, if there is no possible way around it. Than

Re: [rspec-users] Where do a set the description on a should satisfy.

2010-09-27 Thread GregD
ollowing this convention you will only have to specify the spec on > the command line. > Duh! Thanks. Brain fart on my part. I went and looked back at my rails apps and yes I missed that for these specs. Works like a charm. Sorry for being stupid. GregD _

Re: [rspec-users] Where do a set the description on a should satisfy.

2010-09-27 Thread GregD
know I can use rake and create a rake task(s), but from the perspective of the command line, it would be nice to not to have to supply the -r option unless you want to include something "outside" of this convention. Regards, GregD ___ rspec-use

Re: [rspec-users] Where do a set the description on a should satisfy.

2010-09-27 Thread GregD
to be included? Thanks, GregD (newbie) On Sep 26, 6:37 pm, David Chelimsky wrote: > On Sep 24, 2010, at 1:29 PM, GregD wrote: > > > > > > > Hi all, > > > Newbie here and I'm using rspec with jruby to test a java class, but > > this is more of a

[rspec-users] Where do a set the description on a should satisfy.

2010-09-24 Thread GregD
should contain the key #{var1}" { should satisify{|a| a.contains_key?(var1) } } But, the loading complains on that. Where can a put a custom description into this code (easily/polite way). Thanks, GregD ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Questions about testing a module method that randomly creates stuff from list.

2010-07-15 Thread GregD
use those seeds to fine tune specific tests. Thanks, GregD ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users