Skip to content

Instantly share code, notes, and snippets.

@stevenringo
Created June 24, 2011 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenringo/1044050 to your computer and use it in GitHub Desktop.
Save stevenringo/1044050 to your computer and use it in GitHub Desktop.
RSpec deprecation warnings for files without \require 'spec_helper'\ in the /lib directory in rails
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/.rvm/gems/ruby-1.8.7-p334@esd/gems/rspec-rails-2.6.1/lib/rspec/rails.rb:3
*****************************************************************
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/.rvm/gems/ruby-1.8.7-p334@esd/gems/rspec-rails-2.6.1/lib/rspec/rails/view_rendering.rb:3
*****************************************************************
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/.rvm/gems/ruby-1.8.7-p334@esd/gems/rspec-rails-2.6.1/lib/rspec/rails/fixture_support.rb:19
*****************************************************************
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/.rvm/gems/ruby-1.8.7-p334@esd/gems/rspec-rails-2.6.1/lib/rspec/rails/mocks.rb:220
*****************************************************************
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/.rvm/gems/ruby-1.8.7-p334@esd/gems/rspec-rails-2.6.1/lib/rspec/rails/example.rb:10
*****************************************************************
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/.rvm/gems/ruby-1.8.7-p334@esd/bundler/gems/capybara-d956e5eec64b/lib/capybara/rspec.rb:7
*****************************************************************
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/.rvm/gems/ruby-1.8.7-p334@esd/gems/rspec-rails-2.6.1/lib/rspec/rails/vendor/capybara.rb:11
*****************************************************************
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/.rvm/gems/ruby-1.8.7-p334@esd/gems/rspec-rails-2.6.1/lib/rspec/rails/vendor/webrat.rb:6
*****************************************************************
*****************************************************************
DEPRECATION WARNING: you are using deprecated behaviour that will
be removed from RSpec 3.
You have set some configuration options after an example group has
already been defined. In RSpec 3, this will not be allowed. All
configuration should happen before the first example group is
defined. The configuration is happening at:
/Users/steven/Code/rails/apps/cochlear_esd/spec/spec_helper.rb:14
*****************************************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment