[rspec-users] rspec-rails-2.4.0 is released!

Jim Morris wolfmanjm at gmail.com
Sun Jan 2 23:20:05 EST 2011


I forgot to mention that I did get a deprecation warning from rspec-
cells (they haven't updated it yet), but I fixed it by doing what the
deprecation warning said. I don't think that has anything to do with
the error I am getting though.

On Jan 2, 7:46 pm, David Chelimsky <dchelim... at gmail.com> wrote:
> On Sun, Jan 2, 2011 at 9:09 PM, Jim Morris <wolfma... at gmail.com> wrote:
> > I just upgraded from 2.3.1 and I now get this error on all my specs...
> > Nothing else changed and the Upgrade.md does not indicate any backward
> > compatibilities unless I missed something.
>
> > (in /home/morris/work/ruby/rails3/wolfmanblog)
> > /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby -S bundle exec rspec ./
> > spec/controllers/posts_controller_spec.rb
> > [sequel] Setting up the "test" environment:
> > /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > actionpack-3.0.3/lib/action_controller/test_case.rb:10: undefined
> > method `setup' for #<Class:0xa24723c> (NoMethodError)
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:52:in `class_eval'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:52:in
> > `append_features'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > actionpack-3.0.3/lib/action_controller/test_case.rb:439:in `include'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > actionpack-3.0.3/lib/action_controller/test_case.rb:439
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:52:in `class_eval'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:52:in
> > `append_features'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:48:in `include'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:48:in `send'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:48:in
> > `append_features'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:48:in `each'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > activesupport-3.0.3/lib/active_support/concern.rb:48:in
> > `append_features'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:372:in `include'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:372:in `send'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:372:in
> > `configure_group'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:369:in `each'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:369:in
> > `configure_group'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/world.rb:35:in `configure_group'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/example_group.rb:153:in `set_it_up'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/example_group.rb:130:in `subclass'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/example_group.rb:118:in `describe'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/extensions/object.rb:6:in `describe'
> >        from /home/morris/work/ruby/rails3/wolfmanblog/spec/
> > controllers/posts_controller_spec.rb:3
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:387:in `load'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:387:in
> > `load_spec_files'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:387:in `map'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/configuration.rb:387:in
> > `load_spec_files'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/command_line.rb:18:in `run'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/runner.rb:55:in `run_in_process'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/runner.rb:46:in `run'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
> > rspec-core-2.4.0/lib/rspec/core/runner.rb:10:in `autorun'
> >        from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/bin/
> > rspec:19
> > rake aborted!
> > ruby -S bundle exec rspec ./spec/controllers/posts_controller_spec.rb
> > failed
>
> I'm not seeing this in any of my apps. Seems like a configuration or
> load order problem. Can you post your Gemfile and spec/spec_helper.rb?
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list