I’ve installed ZenTest , rails-spec , rspec and when run
AUTOFEATURE=true autospec i get the following error
Warning: $KCODE is NONE. /opt/local/lib/ruby/gems/1.8/gems/treetop-1.4.1/lib/treetop/ruby_extensions/string.rb:31: warning: method redefined; discarding old indent /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/blank.rb:49: warning: method redefined; discarding old blank? /opt/local/bin/ruby -rrubygems -e "require 'redgreen'" /opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/bin/spec --autospec spec/models/sole_trader_spec.rb spec/views/sole_traders/new.html.erb_spec.rb spec/controllers/sole_traders_controller_spec.rb spec/helpers/sole_traders_helper_spec.rb spec/views/sole_traders/show.html.erb_spec.rb -O spec/spec.opts invalid option: --autospec 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).
Can anyone help please