On Jan 19, 2008 11:41 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > I'm hoping someone on this list will be able to help. I just updated > zentest, rspec plugin and rspec_on_rails plugin
What versions? Please include this information when asking questions like this. > and I get the following > exception when I run autotest. I realize that the -O is causing the problem, > but I'm not sure how to get it not to pass it. Also, it seems strange that > it is going through the Test::Unit runner, unless that is because of the > recent work to get rspec compatible with Test::Unit? rspec_on_rails has always gone through test/unit, but this seems a bit odd. There were significant changes to ZenTest-3.8.0 and RSpec-1.1.2 in the way they interact and load files. Any chance that you have a .autotest file set up? If so, what's in it? > > Exception below > > c:\ruby\bin\ruby -rrubygems -e "require 'redgreen'" -S script/spec -O > spec/spec.opts spec/controllers/coupon_controlle > r_spec.rb spec/models/coupon_spec.rb spec/helpers/coupon_helper_spec.rb > spec/views/coupon/index.html.erb_spec.rb > invalid option: -O > Test::Unit automatic runner. > Usage: -e [options] [-- untouched arguments] > > -r, --runner=RUNNER Use the given RUNNER. > (c[onsole], f[ox], g[tk], g[tk]2, t[k]) > -b, --basedir=DIR Base directory of test suites. > -w, --workdir=DIR Working directory to run tests. > -a, --add=TORUN Add TORUN to the list of things to run; > can be a file or a directory. > -p, --pattern=PATTERN Match files to collect against PATTERN. > -x, --exclude=PATTERN Ignore files to collect against > PATTERN. > -n, --name=NAME Runs tests matching NAME. > (patterns may be used). > -t, --testcase=TESTCASE Runs tests in TestCases matching > TESTCASE. > (patterns may be used). > -I, --load-path=DIR[;DIR...] Appends directory list to $LOAD_PATH. > -v, --verbose=[LEVEL] Set the output level (default is > verbose). > (s[ilent], p[rogress], n[ormal], > v[erbose]) > -- Stop processing options so that the > remaining options will be passed to the > test. > -h, --help Display this help. > > Deprecated options: > --console Console runner (use --runner). > --gtk GTK runner (use --runner). > --fox Fox runner (use --runner). > > -- > http://www.coreyhaines.com > The Internet's Premiere source of information about Corey Haines > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users