Commit graph

13 commits

Author SHA1 Message Date
taca
becee4ff82 Update ruby-rspec-rails to 2.13.2.
### 2.13.2 / 2013-05-18
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)

Bug fixes

* `let` definitions may override methods defined in modules brought in via
  `config.include` in controller specs. Fixes regression introduced in 2.13.
  (Andy Lindeman, Jon Rowe)
* Code that checks Rails version numbers is more robust in cases where Rails is
  not fully loaded. (Andy Lindeman)

### 2.13.1 / 2013-04-27
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)

Bug fixes

* View specs are no longer generated if no template engine is specified (Kevin
  Glowacz)
* `ActionController::Base.allow_forgery_protection` is set to its original
  value after each example. (Mark Dimas)
* `patch` is supported in routing specs. (Chris Your)
* Routing assertions are supported in controller specs in Rails 4. (Andy
  Lindeman)
* Fix spacing in the install generator template (Taiki ONO)
2013-06-16 16:31:05 +00:00
rodent
a0a1f2e57c Fixes:
COMMENT should not be longer than 70 characters.
 COMMENT should not begin with 'A'.
 COMMENT should not begin with 'An'.
 COMMENT should not begin with 'a'.
 COMMENT should not end with a period.
 COMMENT should start with a capital letter.

pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
2013-04-06 03:45:05 +00:00
taca
406ca8fa48 Update ruby-rspec-rails to 2.13.0.
### 2.13.0 / 2013-02-23
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)

Enhancements

* `be_valid` matcher includes validation error messages. (Tom Scott)
* Adds cucumber scenario showing how to invoke an anonymous controller's
  non-resourceful actions. (Paulo Luis Franchini Casaretto)
* Null template handler is used when views are stubbed. (Daniel Schierbeck)
* The generated `spec_helper.rb` in Rails 4 includes a check for pending
  migrations. (Andy Lindeman)
* Adds `rake spec:features` task. (itzki)
* Rake tasks are automatically generated for each spec/ directory.
  (Rudolf Schmidt)
2013-03-11 07:50:31 +00:00
taca
e3f33c8696 Update ruby-rspec-rails to 2.12.2.
### 2.12.2 / 2013-01-12
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)

Bug fixes

* Reverts earlier fix where anonymous controllers defined the `_routes` method
  to support testing of redirection and generation of URLs from other contexts.
  The implementation ended up breaking the ability to refer to non-anonymous
  routes in the context of the controller under test.

### 2.12.1 / 2013-01-07
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.0...master)

Bug fixes

* Operates correctly when ActiveRecord is only partially loaded (e.g., with
  older versions of Mongoid). (Eric Marden)
* `expect(subject).to have(...).errors_on` operates correctly for
  ActiveResource models where `valid?` does not accept an argument. (Yi Wen)
* Rails 4 support for routing specs. (Andy Lindeman)
* Rails 4 support for `ActiveRecord::Relation` and the `=~` operator matcher.
  (Andy Lindeman)
* Anonymous controllers define `_routes` to support testing of redirection
  and generation of URLs from other contexts. (Andy Lindeman)
2013-01-14 06:12:41 +00:00
taca
f054527c1a Update ruby-rspec-rails to 2.12.1.
### 2.12.1 / 2013-01-07
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.0...master)

Bug fixes

* Operates correctly when ActiveRecord is only partially loaded (e.g., with
  older versions of Mongoid). (Eric Marden)
* `expect(subject).to have(...).errors_on` operates correctly for
  ActiveResource models where `valid?` does not accept an argument. (Yi Wen)
* Rails 4 support for routing specs. (Andy Lindeman)
* Rails 4 support for `ActiveRecord::Relation` and the `=~` operator matcher.
  (Andy Lindeman)
* Anonymous controllers define `_routes` to support testing of redirection
  and generation of URLs from other contexts. (Andy Lindeman)
2013-01-12 09:17:48 +00:00
taca
f0abdec9e0 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.
2012-12-16 16:46:14 +00:00
taca
4c5302fad6 Update ruby-rspec-rails to 2.11.0.
2.11.0 / 2012-07-07

full changelog

Enhancements

* The generated spec/spec_helper.rb sets config.order = "random" so that specs
  run in random order by default.
* rename render_template to have_rendered (and alias to render_template for
  backward compatibility)

Bug fixes

* "uninitialized constant" errors are avoided when using using gems like
  rspec-rails-uncommitted that define Rspec::Rails before rspec-rails loads
  (Andy Lindeman)
2012-09-04 14:52:19 +00:00
taca
ebeebcef98 Update ruby-rspec-rails to 2.10.1.
### 2.10.1 / 2012-05-03
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)

Bug fixes

* fix regression introduced in 2.10.0 that broke integration with Devise
  (https://github.com/rspec/rspec-rails/issues/534)

### 2.10.0 / 2012-05-03
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)

Bug fixes

* `render_views` called in a spec can now override the config setting. (martinsvalin)
* Fix `render_views` for anonymous controllers on 1.8.7. (hudge, mudge)
* Eliminate use of deprecated `process_view_paths`
* Fix false negatives when using `route_to` matcher with `should_not`
* `controller` is no longer nil in `config.before` hooks
* Change `request.path_parameters` keys to symbols to match real Rails
  environment (Nathan Broadbent)
* Silence deprecation warnings in pre-2.9 generated view specs (Jonathan del
  Strother)
2012-06-02 00:48:42 +00:00
taca
53106dc086 Update ruby-rspec-rails to 2.9.0.
Remove restriction for version of Ruby on Rails.

### 2.9.0 / 2012-03-17
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)

Enhancments
* add description method to RouteToMatcher (John Wulff)
* Run "db:test:clone_structure" instead of "db:test:prepare" if Active Record's
  schema format is ":sql". (Andrey Voronkov)

Bug fixes
* mock_model(XXX).as_null_object.unknown_method returns self again
* Generated view specs use different IDs for each attribute.
2012-03-20 13:42:34 +00:00
taca
b3f70b76c3 Update ruby-rspec-rails package to 2.8.1.
2.8.1 / 2012-01-04

full changelog

NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility
with stub_model in rspec-rails. This release fixes that issue, but it
means that you'll have to upgrade to rspec-rails-2.8.1 when you upgrade
to rails >= 3.2.0.rc2.

* Bug fixes

  - Explicitly stub valid? in stubmodel. Fixes stubmodel for rails
    versions >= 3.2.0.rc2.

2.8.0 / 2012-01-04

full changelog

* Enhancements

  - Eliminate deprecation warnings in generated view specs in Rails 3.2
  - Ensure namespaced helpers are included automatically (Evgeniy Dolzhenko)
  - Added cuke scenario documenting which routes are generated for
    anonymous controllers (Alan Shields) 2.8.0.rc2 / 2011-12-19

full changelog

* Enhancements

  - Add session hash to generated controller specs (Thiago Almeida)
  - Eliminate deprecation warnings about InstanceMethods modules in Rails 3.2

* Bug fixes

  - Stub attribute accessor after respond_to? call on mocked model (Igor Afonov)

2.8.0.rc1 / 2011-11-06

full changelog

* Enhancements

  - Removed unnecessary "config.mockwith :rspec" from spechelper.rb
    (Paul Annesley)

* Changes

  - No API changes for rspec-rails in this release, but some internals
    changed to align with rspec-core-2.8

* rspec-core

* rspec-expectations

* rspec-mocks
2012-03-17 15:08:56 +00:00
taca
88bff0ae04 Update ruby-rspec-rails package to 2.7.0.
Exact changes are unknown.
2011-12-16 15:58:44 +00:00
taca
d75dd019a0 Switch to use RUBY_RAILS_SUPPORTED and allow 31 here. 2011-12-13 15:55:20 +00:00
taca
811f720534 Importing rspec-rails version 2.6.1, it is for Ruby on Rails 3.
# rspec-rails-2

rspec-2 for rails-3 with lightweight extensions to each

NOTE: rspec-2 does _not_ support rails-2. Use rspec-rails-1.3.x for rails-2.

## Documentation

* [Cucumber features](http://relishapp.com/rspec/rspec-rails/v/2-0)
* [RDoc](http://rubydoc.info/gems/rspec-rails/2.0.1/frames)
2011-06-18 04:03:39 +00:00