On Fri, Jul 10, 2009 at 1:06 AM, nnn<g.zhen.n...@gmail.com> wrote: > /home/jack/vendor/plugins/rspec/lib/spec/autorun.rb:3: undefined > method `autorun' for Spec::Runner:Module (NoMethodError) > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from /home/jack/vendor/rails/activesupport/lib/active_support/ > dependencies.rb:158:in `require' > > > > when I switch to spec/model and run spec admin_spec.rb > it throw me a error like this, so how to deal with it?
As things stand right now, you've got to run specs from the project root. This is a known issue (there is a ticket in lighthouse but naturally I can't find it now). _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users