./devel/ruby-rspec-rails, Test-double framework for rspec

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.5.2, Package name: ruby22-rspec-rails-3.5.2, Maintainer: pkgsrc-users

# 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)


Required to run:
[devel/ruby-rspec-core] [devel/ruby-rspec-mocks] [devel/ruby-rspec-expectations] [devel/ruby-activesupport32] [devel/ruby-railties32] [www/ruby-actionpack32] [devel/ruby-rspec-support] [lang/ruby22-base]

Master sites:

SHA1: c143194bad776178ded6322bd275ed1540ced380
RMD160: 55217128a4c624077b73ae075a643f04aade01ff
Filesize: 55.5 KB

Version history: (Expand)


CVS history: (Expand)


   2016-10-09 17:06:30 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-rspec-rails to 3.5.2.

### 3.5.2
[Full Changelog](http://github.com/rspec/rspec-rails/com … 1...v3.5.2)

Bug Fixes:

* Stop unnecessarily loading `rspec/core` from `rspec/rails` to avoid
  IRB context warning. (Myron Marston, #1678)
* Deserialize arguments within ActiveJob matchers correctly.
  (Wojciech Wnętrzak, #1684)

### 3.5.1 / 2016-07-08
[Full Changelog](http://github.com/rspec/rspec-rails/com … 0...v3.5.1)

Bugfixes:

* Only attempt to load `ActionDispatch::IntegrationTest::Behavior` on Rails 5,
  and above; Prevents possible `TypeError` when an existing `Behaviour` class
  is defined. (#1660, Betesh).

### 3.5.0 / 2016-07-01
[Full Changelog](http://github.com/rspec/rspec-rails/com … 4...v3.5.0)

**No user facing changes since beta4**

### 3.5.0.beta4 / 2016-06-05
[Full \ 
Changelog](http://github.com/rspec/rspec-rails/com … .5.0.beta4)

Enhancements:

* Add support for block when using `with` on `have_enqueued_job`. (John \ 
Schroeder, #1578)
* Add support for `file_fixture(...)`. (Wojciech Wnętrzak, #1587)
* Add support for `setup` and `teardown` with blocks (Miklós Fazekas, #1598)
* Add `enqueue_job ` alias for `have_enqueued_job`, support `once`/`twice`/
  `thrice`, add `have_been_enqueued` matcher to support use without blocks.
  (Sergey Alexandrovich, #1613)

Bug fixes:

* Prevent asset helpers from taking precendence over route helpers. (Prem \ 
Sichanugrist, #1496)
* Prevent `NoMethodError` during failed `have_rendered` assertions on weird \ 
templates.
  (Jon Rowe, #1623).

### 3.5.0.beta3 / 2016-04-02
[Full \ 
Changelog](http://github.com/rspec/rspec-rails/com … .5.0.beta3)

Enhancements:

* Add support for Rails 5 Beta 3 (Sam Phippen, Benjamin Quorning, Koen Punt, \ 
#1589, #1573)

Bug fixes:

* Support custom resolvers when preventing views from rendering.
  (Jon Rowe, Benjamin Quorning, #1580)

### 3.5.0.beta2 / 2016-03-10
[Full \ 
Changelog](http://github.com/rspec/rspec-rails/com … .5.0.beta2)

Enhancements:

* Include `ActionDispatch::IntegrationTest::Behavior` in request spec
  example groups when on Rails 5, allowing integration test helpers
  to be used in request specs. (Scott Bronson, #1560)

Bug fixes:

* Make it possible to use floats in auto generated (scaffold) tests.
  (Alwahsh, #1550)

### 3.5.0.beta1 / 2016-02-06
[Full Changelog](http://github.com/rspec/rspec-rails/com … .5.0.beta1)

Enhancements:

* Add a `--singularize` option for the feature spec generator (Felicity McCabe,
  #1503)
* Prevent leaking TestUnit methods in Rails 4+ (Fernando Seror Garcia, #1512)
* Add support for Rails 5 (Sam Phippen, #1492)

Bug fixes:

* Make it possible to write nested specs within helper specs on classes that are
  internal to helper classes. (Sam Phippen, Peter Swan, #1499).
* Warn if a fixture method is called from a `before(:context)` block, instead of
  crashing with a `undefined method for nil:NilClass`. (Sam Phippen, #1501)
* Expose path to view specs (Ryan Clark, Sarah Mei, Sam Phippen, #1402)
* Prevent installing Rails 3.2.22.1 on Ruby 1.8.7. (Jon Rowe, #1540)
* Raise a clear error when `have_enqueued_job` is used with non-test
  adapter. (Wojciech Wnętrzak, #1489)
   2016-02-16 17:02:35 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-rspec-rails to 3.4.2.

### 3.4.2 / 2016-02-02
[Full Changelog](http://github.com/rspec/rspec-rails/com … 1...v3.4.2)

Bug fixes:

* Cache template resolvers during path lookup to prevent performance
  regression from #1535. (Andrew White, #1544)

### 3.4.1 / 2016-01-25
[Full Changelog](http://github.com/rspec/rspec-rails/com … 0...v3.4.1)

Bug Fixes:

* Fix no method error when rendering templates with explicit `:file`
  parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
   2015-11-29 15:59:13 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-rspec-rails to 3.4.0.

### 3.4.0 / 2015-11-11
[Full Changelog](http://github.com/rspec/rspec-rails/com … 3...v3.4.0)

Enhancements:

* Improved the failure message for `have_rendered` matcher on a redirect
  response. (Alex Egan, #1440)
* Add configuration option to filter out Rails gems from backtraces.
  (Bradley Schaefer, #1458)
* Enable resolver cache for view specs for a large speed improvement
  (Chris Zetter, #1452)
* Add `have_enqueued_job` matcher for checking if a block has queued jobs.
  (Wojciech Wnętrzak, #1464)

Bug Fixes:

* Fix another load order issued which causes an undefined method `fixture_path` error
  when loading rspec-rails after a spec has been created. (Nikki Murray, #1430)
* Removed incorrect surrounding whitespace in the rspec-rails backtrace
  exclusion pattern for its own `lib` code. (Jam Black, #1439)
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-13 13:56:42 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-rspec-rails to 3.3.3.

### 3.3.3 / 2015-07-15
[Full Changelog](http://github.com/rspec/rspec-rails/com … 2...v3.3.3)

Bug Fixes:

* Fix issue with generators caused by `Rails.configuration.hidden_namespaces`
  including symbols. (Dan Kohn, #1414)

### 3.3.2 / 2015-06-18
[Full Changelog](http://github.com/rspec/rspec-rails/com … 1...v3.3.2)

Bug Fixes:

* Fix regression that caused stubbing abstract ActiveRecord model
  classes to trigger internal errors in rails due the the verifying
  double lifecycle wrongly calling `define_attribute_methods` on the
  abstract AR class. (Jon Rowe, #1396)

### 3.3.1 / 2015-06-14
[Full Changelog](http://github.com/rspec/rspec-rails/com … 0...v3.3.1)

Bug Fixes:

* Fix regression that caused stubbing ActiveRecord model classes to
  trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
   2015-06-14 15:14:16 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-rspec-rails to 3.3.1.

### 3.3.1 / 2015-06-14
[Full Changelog](http://github.com/rspec/rspec-rails/com … 0...v3.3.1)

Bug Fixes:

* Fix regression that caused stubbing ActiveRecord model classes to
  trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
   2015-06-13 02:01:37 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-rspec-rails to 3.3.0.

### 3.3.0 / 2015-06-12
[Full Changelog](http://github.com/rspec/rspec-rails/com … 3...v3.3.0)

Enhancements:

* Add support for PATCH to route specs created via scaffold. (Igor Zubkov, #1336)
* Improve controller and routing spec calls to `routes` by using `yield`
  instead of `call`. (Anton Davydov, #1308)
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s
  via both `:type => :job` and inferring type from spec directory `spec/jobs`.
  (Gabe Martin-Dempesy, #1361)
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata
  `:use_fixtures => true`. (Aaron Kromer, #1372)
* Include `rspec:request` generator for generating request specs; this is an
  alias of `rspec:integration` (Aaron Kromer, #1378)
* Update `rails_helper` generator with a default check to abort the spec run
  when the Rails environment is production. (Aaron Kromer, #1383)
   2015-06-07 06:17:39 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-rspec-rails to 3.2.3.

### 3.2.3 / 2015-06-06
[Full Changelog](http://github.com/rspec/rspec-rails/com … 2...v3.2.3)

Bug Fixes:

* Fix regression with the railtie resulting in undefined method `preview_path=`
  on Rails 3.x and 4.0 (Aaron Kromer, #1388)

### 3.2.2 / 2015-06-03
[Full Changelog](http://github.com/rspec/rspec-rails/com … 1...v3.2.2)

Bug Fixes:

* Fix auto-including of generic `Helper` object for view specs sitting in the
  `app/views` root (David Daniell, #1289)
* Remove pre-loading of ActionMailer in the Railtie (Aaron Kromer, #1327)
* Fix undefined method `need_auto_run=` error when using Ruby 2.1 and Rails 3.2
  without the test-unit gem (Orien Madgwick, #1350)
* Fix load order issued which causes an undefined method `fixture_path` error
  when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)