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

(See full trace by running task with --trace)

On Jan 2, 2:42 pm, David Chelimsky <dchelim...@gmail.com> wrote:
> ### rspec-rails-2.4.0 / 2011-01-02
>
> [full changelog](http://github.com/rspec/rspec-rails/compare/v2.3.1...2.4.0)
>
> * Enhancements
>   * include ApplicationHelper in helper object in helper specs
>   * include request spec extensions in files in spec/integration
>   * include controller spec extensions in groups that use :type => :controller
>     * same for :model, :view, :helper, :mailer, :request, :routing
>
> * Bug fixes
>   * restore global config.render_views so you only need to say it once
>   * support overriding render_views in nested groups
>   * matchers that delegate to Rails' assertions capture
>     ActiveSupport::TestCase::Assertion (so they work properly now with
>     should_not in Ruby 1.8.7 and 1.9.1)
>
> * Deprecations
>   * `include_self_when_dir_matches`
>
> _______________________________________________
> rspec-users mailing list
> rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to