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

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


Branch: CURRENT, Version: 3.7.2, Package name: ruby24-rspec-rails-3.7.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/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 4ca0d61b9e4374c3a66cb0c8ff158ddf4e66fb38
RMD160: ce54b9fce77eff4474664f5b326ffa41e1fe5e21
Filesize: 57.5 KB

Version history: (Expand)


CVS history: (Expand)


   2018-03-18 15:21:22 by Takahiro Kambe | Files touched by this commit (37)
Log message:
lang/ruby: replace RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED

Change RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED for better wording.
   2018-03-14 15:23:28 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-rspec-rails: update to 3.7.2

### 3.7.2 / 2017-11-20
[Full Changelog](http://github.com/rspec/rspec-rails/com … 1...v3.7.2)

Bug Fixes:

* Delay loading system test integration until used. (Jon Rowe, #1903)
* Ensure specs using the aggregate failures feature take screenshots on failure.
  (Matt Brictson, #1907)

### 3.7.1 / 2017-10-18
[Full Changelog](http://github.com/rspec/rspec-rails/com … 0...v3.7.1)

Bug Fixes:

* Prevent system test integration loading when puma or capybara are missing (Sam \ 
Phippen, #1884)

### 3.7.0 / 2017-10-17
[Full Changelog](http://github.com/rspec/rspec-rails/com … 0...v3.7.0)

Bug Fixes:

* Prevent "template not rendered" log message from erroring in threaded
  environments. (Samuel Cochran, #1831)
* Correctly generate job name in error message. (Wojciech Wnętrzak, #1814)

Enhancements:

* Allow `be_a_new(...).with(...)` matcher to accept matchers for
  attribute values. (Britni Alexander, #1811)
* Only configure RSpec Mocks if it is fully loaded. (James Adam, #1856)
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
   2017-09-04 20:08:31 by Thomas Klausner | Files touched by this commit (163)
Log message:
Follow some redirects.
   2017-08-31 17:21:32 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-rspec-rails to 3.6.1.

### 3.6.1 / 2017-07-25
[Full Changelog](http://github.com/rspec/rspec-rails/com … 0...v3.6.1)

Bug Fixes:

* Prevent "template not rendered" log message from erroring in threaded
  environments. (Samuel Cochran, #1831)
* Correctly generate job name in error message. (Wojciech Wnętrzak, #1814)
   2017-06-21 17:42:11 by Takahiro Kambe | Files touched by this commit (17)
Log message:
Bump revision due to change of PKGPATH of depending rails components' packages.
   2017-06-05 16:08:17 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-rspec-railsto 3.6.0.

### 3.6.0 / 2017-05-04
[Full Changelog](http://github.com/rspec/rspec-rails/com … 2...v3.6.0)

Enhancements:

* Add compatibility for Rails 5.1. (Sam Phippen, Yuichiro Kaneko, #1790)

Bug Fixes:

* Fix scaffold generator so that it does not generate broken controller specs
  on Rails 3.x and 4.x. (Yuji Nakayama, #1710)

### 3.6.0.beta2 / 2016-12-12
[Full \ 
Changelog](http://github.com/rspec/rspec-rails/com … .6.0.beta2)

Enhancements:

* Improve failure output of ActiveJob matchers by listing queued jobs.
  (Wojciech Wnętrzak, #1722)
* Load `spec_helper.rb` earlier in `rails_helper.rb` by default.
  (Kevin Glowacz, #1795)

### 3.6.0.beta1 / 2016-10-09
[Full Changelog](http://github.com/rspec/rspec-rails/com … .6.0.beta1)

Enhancements:

* Add support for `rake notes` in Rails `>= 5.1`. (John Meehan, #1661)
* Remove `assigns` and `assert_template` from scaffold spec generators (Josh
  Justice, #1689)
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
   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)