3.0.0.beta2 / 2014-02-17
Bug fixes
- Use
__send__
rather thansend
to prevent naming collisions (Bradley Schaefer) - Supports Rails 4.1. (Andy Lindeman)
- Routes are drawn correctly for anonymous controllers with abstract
parents. (Billy Chan) - Loads ActiveSupport properly to support changes in Rails 4.1. (Andy Lindeman)
- Anonymous controllers inherit from
ActionController::Base
ifApplicationController
is not present. (Jon Rowe) - Require
rspec/collection_matchers
whenrspec/rails
is required. (Yuji Nakayama)
Enhancements
- Improve be_valid matcher for non-ActiveModel::Errors implementations (Ben Hamill)
Breaking Changes for 3.0.0:
- Removes the
--webrat
option for the request spec generator (Andy Lindeman) - Methods from
Capybara::DSL
(e.g.,visit
) are no longer available in
controller specs. It is more appropriate to use capybara in feature specs
(spec/features
) instead. (Andy Lindeman) infer_base_class_for_anonymous_controllers
is
enabled by default. (Thomas Holmes)- Capybara 2.2.0 or above is required for feature specs. (Andy Lindeman)