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

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


Branch: CURRENT, Version: 5.0.2, Package name: ruby27-rspec-rails-5.0.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-rspec-support] [lang/ruby26-base] [devel/ruby-railties52] [devel/ruby-activesupport52] [www/ruby-actionpack52]

Required to build:
[pkgtools/cwrappers]

Master sites:

RMD160: 31e82eede6215059fe5747b68e80f16b7237d041
Filesize: 67.5 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-03-21 13:54:20 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-rails: update to 5.0.1

5.0.1 / 2021-03-18

Bug Fixes:

* Limit multibyte example descriptions when used in system tests for
  #method_name which ends up as screenshot names etc. (@y-yagi, #2405,
  #2487)
   2021-03-09 14:58:38 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-rails: update to 5.0.0

5.0.0 / 2021-03-09

Enhancements:

* Support new #file_fixture_path and new fixture test support code. (Jon
  Rowe, #2398)
* Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more
  #2398)

Breaking Changes:

* Drop support for Rails below 5.2.
   2021-03-07 09:33:44 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-rails: update to 4.1.0

4.1.0 / 2021-03-06

Enhancements:

* Issue a warning when using job matchers with #at mis-match on usec
  precision. (Jon Rowe, #2350)

* Generated request specs now have a bare _spec suffix instead of
  request_spec. (Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)

* Generated scaffold now includes engine route helpers when inside a
  mountable engine. (Andrew W. Lee, #2372)

* Improve request spec "controller" scafold when no action is
  specified. (Thomas Hareau, #2399)

* Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423)

* Prevent collisions with let(:name) for Rails 6.1 and let(:method_name) on
  older Rails. (Benoit Tigeot, #2461)
   2021-01-11 14:10:33 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-rails: update to 4.0.2

### 4.0.2 / 2020-12-26
[Full Changelog](https://github.com/rspec/rspec-rails/co … 1...v4.0.2)

Bug Fixes:

* Indent all extra failure lines output from system specs. (Alex Robbin, #2321)
* Generated request spec for update now uses the correct let. (Paul Hanyzewski, \ 
#2344)
* Return `true`/`false` from predicate methods in config rather than raw values.
  (Phil Pirozhkov, Jon Rowe, #2353, #2354)
* Remove old #fixture_path feature detection code which broke under newer Rails.
  (Koen Punt, Jon Rowe, #2370)
   2020-05-25 15:51:32 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-rails: update to 4.0.1

Update ruby-rspec-rails to 4.0.1.

### 4.0.1 / 2020-05-16

Bug Fixes:

* Remove warning when calling `driven_by` in system specs. (Aubin Lorieux,
  #2302)

* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus
  Doits, #2304)

* Allow `have_enqueued_mail` to match when a sub class of
  `ActionMailer::DeliveryJob` is set using
  `<Class>.delivery_job=`. (Atsushi Yoshida #2305)

* Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)

* Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319,
  #2338)
   2020-04-27 08:58:36 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-rspec-rails: update to 4.0.0

Update ruby-rspec-rails to 4.0.0.

### 4.0.0.rc1 / 2020-03-13
[Full \ 
Changelog](https://github.com/rspec/rspec-rails/co … v4.0.0.rc1)

Enhancements:

* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. \ 
(Nils Sommer, #2283)
* The scaffold generator now generates request specs in preference to controller \ 
specs.
  (Luka Lüdicke, #2288)
* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, \ 
Hermann Mayer, #2266)
*  Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when running \ 
system specs.
  (ta1kt0me, Benoit Tigeot, #2289)

Bug Fixes:

* Restore previous conditional check for setting `default_url_options` in feature
  specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
* Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
  (Jonathan Rochkind, #2242)
* `rails generate generator` command now creates related spec file (Joel Azemar, \ 
#2217)
* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil \ 
Pirozhkov, #2281)
* Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)

### 4.0.0.beta4
[Full \ 
Changelog](https://github.com/rspec/rspec-rails/co … .0.0.beta4)

Enhancements:

* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, #2206)
* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
* Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
  matchers (Isaac Seymour, #1785)
* Default to generating request specs rather than controller specs when
  generating a controller (Luka Lüdicke, #2222)

Bug Fixes:

* Prevent `driven_by(:selenium)` being called due to hook precedence.
  (Takumi Shotoku, #2188)
* Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
  6.1 development version. (Edouard Chin, #2215)
* Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)

### 4.0.0.beta3
[Full \ 
Changelog](https://github.com/rspec/rspec-rails/co … .0.0.beta3)

Enhancements:

* Adds support for JRuby on Rails 5.2 and 6
* Add support for parameterised mailers (Ignatius Reza, #2125)
* Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
* Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
* Add support for partial args when using `have_enqueued_mail`
  (Ignatius Reza, #2118, #2125)
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
* Improve path parsing in view specs render options. (John Hawthorn, #2115)
* Add routing spec template as an option for generating controller specs.
  (David Revelo, #2134)

Bug Fixes:

* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
  are generated correctly. (Jon Rowe, #2164)
* `ActionView::FixtureResolver#hash` has been renamed to \ 
`ActionView::FixtureResolver#data`.
  (Penelope Phippen, #2076)
* Add missing require for `have_enqueued_mail` matcher.  (Ignatius Reza, #2117)

### 4.0.0.beta2
[Full \ 
Changelog](https://github.com/rspec/rspec-rails/co … .0.0.beta2)

Bug Fixes:

* Fix version dependencies in gemspec.

### 4.0.0.beta1
[Full Changelog](https://github.com/rspec/rspec-rails/co … .0.0.beta1)

Enhancements:

* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)

Bug Fixes:

* `EmptyTemplateHandler.call` now needs to support an additional argument in
  Rails 6. (Pavel Rosický, #2089)
* Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is
  deprecated. (Pavel Rosický, #2092)
* `ActionView::Template#formats` has been deprecated and replaced by
  `ActionView::Template#format`(Seb Jacobs, #2100)

Breaking Changes:

* Drops support for Rails below 5.0
* Drops support for Ruby below 2.3
   2020-03-20 16:08:57 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
Bump PKGREVISION

* Bump PKGREVISION by RUBY_RAILS_DEFAULT change.