Path to this page:
Subject: CVS commit: pkgsrc/devel/ruby-rspec-rails
From: Takahiro Kambe
Date: 2012-12-16 17:46:14
Message id: 20121216164614.A5036175DD@cvs.netbsd.org
Log Message:
Update ruby-rspec-rails to 2.12.0.
### 2.12.0 / 2012-11-12
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.11.4...2.12.0)
Enhancements
* Support validation contexts when using `#errors_on` (Woody Peterson)
* Include RequestExampleGroup in groups in spec/api
Bug fixes
* Add `should` and `should_not` to `CollectionProxy` (Rails 3.1+) and
`AssociationProxy` (Rails 3.0). (Myron Marston)
* `controller.controller_path` is set correctly for view specs in Rails 3.1+.
(Andy Lindeman)
* Generated specs support module namespacing (e.g., in a Rails engine).
(Andy Lindeman)
* `render` properly infers the view to be rendered in Rails 3.0 and 3.1
(John Firebaugh)
* AutoTest mappings involving config/ work correctly (Brent J. Nordquist)
* Failures message for `be_new_record` are more useful (Andy Lindeman)
### 2.11.4 / 2012-10-14
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
Capybara-2.0 integration support:
* include RailsExampleGroup in spec/features (necessary when there is no AR)
* include Capybara::DSL and Capybara::RSpecMatchers in spec/features
See \
[https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
and \
[http://rubydoc.info/gems/rspec-rails/file/Capybara.md](http://rubydoc.info/gems/rspec-rails/file/Capybara.md)
for background.
2.11.1, .2, .3 were yanked due to errant documentation.
Files: