warnings from ActiveSupport-3.2
- Closes #426
- this had been done to get around a problem in rails-3.1.0.beta1, but that issue has been addressed in the coming rails-3.1.0.rc This reverts commit 9ebf963.
- this is necessary because Rails 3.1 relies on name in an inherited hook.
- this adds capybara matchers to view and helper specs - Closes #302.
- e.g. describe "something", :type => :controller do - reworked internal module inclusion functionality - include request spec extensions in spec/integration for ease of upgrade from rspec-rails-1.x - Closes #256.
- added --webrat flag for request controller generator - deprecated --webrat-matchers flag across generators - Closes #277.
…ault Restores functionality from RSpec 1.X. Hat tip to jferris for the original patch. (Closes #223)
- wraps webrat and capybara includes in blocks that are only eval'd when either is loaded
- Closes #131.
RSpec::Matchers in a module that gets included in every type of example group.
- controller - helper - mailer - request - routing - view This supports attaching behaviour to a subset of example groups in a config block: RSpec.configure do |c| before(:each, :type => :controller) do # do something end end Note that this is not mean you can attach controller spec behaviour to a group like this: # DOES NOT WORK describe "something", :type => :controller do Closes #38.