mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Update NEWS
[ci skip]
This commit is contained in:
parent
9103ead214
commit
d065ca9350
1 changed files with 17 additions and 5 deletions
22
NEWS.md
22
NEWS.md
|
|
@ -14,7 +14,7 @@ is now:
|
||||||
|
|
||||||
* `use_before_filter`, `use_after_filter`, and `use_around_filter` are no longer
|
* `use_before_filter`, `use_after_filter`, and `use_around_filter` are no longer
|
||||||
usable when using shoulda-matchers under Rails 5.x, as the corresponding
|
usable when using shoulda-matchers under Rails 5.x, as the corresponding
|
||||||
controller callback don't exist there.
|
controller callbacks don't exist there.
|
||||||
|
|
||||||
* *PR: [#1054]*
|
* *PR: [#1054]*
|
||||||
|
|
||||||
|
|
@ -41,19 +41,28 @@ is now:
|
||||||
* *PR: [#1038]*
|
* *PR: [#1038]*
|
||||||
* *Original issue: [#1006]*
|
* *Original issue: [#1006]*
|
||||||
|
|
||||||
* Fix `permit` matcher so that it uses the correct method signature to call the
|
* Fix the `permit` matcher so that it uses the correct method signature to call
|
||||||
controller action with params in order to prevent a warning under Rails 5.x.
|
the controller action with params in order to prevent a warning under Rails
|
||||||
|
5.x.
|
||||||
|
|
||||||
* *Commit: [ce9624b]*
|
* *Commit: [ce9624b]*
|
||||||
* *PRs: [#989], [#964], [#917]*
|
* *PRs: [#989], [#964], [#917]*
|
||||||
* *Original issue: [#867]*
|
* *Original issue: [#867]*
|
||||||
|
|
||||||
* Fix `define_enum_for` matcher so that it once more allows string columns to be
|
* Fix the `define_enum_for` matcher so that it once more allows string columns
|
||||||
used as enum attributes.
|
to be used as enum attributes.
|
||||||
|
|
||||||
|
* *Commit: [5650aae]*
|
||||||
* *PR: [#1063]*
|
* *PR: [#1063]*
|
||||||
* *Original issue: [#912]*
|
* *Original issue: [#912]*
|
||||||
|
|
||||||
|
* Fix `validate_uniqueness_of` when used under Rails 4.2 so that when the
|
||||||
|
attribute you're testing is a boolean column, it will no longer emit a
|
||||||
|
warning.
|
||||||
|
|
||||||
|
* *PR: [#1073]*
|
||||||
|
* *Original issue: [#949]*
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
* Add `required` and `optional` qualifiers to `belong_to` and `have_one`
|
* Add `required` and `optional` qualifiers to `belong_to` and `have_one`
|
||||||
|
|
@ -78,8 +87,11 @@ is now:
|
||||||
[#917]: https://github.com/thoughtbot/shoulda-matchers/pulls/917
|
[#917]: https://github.com/thoughtbot/shoulda-matchers/pulls/917
|
||||||
[#867]: https://github.com/thoughtbot/shoulda-matchers/issues/867
|
[#867]: https://github.com/thoughtbot/shoulda-matchers/issues/867
|
||||||
[#1054]: https://github.com/thoughtbot/shoulda-matchers/pulls/1054
|
[#1054]: https://github.com/thoughtbot/shoulda-matchers/pulls/1054
|
||||||
|
[5650aae]: https://github.com/thoughtbot/shoulda-matchers/commit/5650aae35de85aeabd75bc544324fda33ce1a092
|
||||||
[#1063]: https://github.com/thoughtbot/shoulda-matchers/pulls/1063
|
[#1063]: https://github.com/thoughtbot/shoulda-matchers/pulls/1063
|
||||||
[#912]: https://github.com/thoughtbot/shoulda-matchers/issues/912
|
[#912]: https://github.com/thoughtbot/shoulda-matchers/issues/912
|
||||||
|
[#1073]: https://github.com/thoughtbot/shoulda-matchers/pulls/1073
|
||||||
|
[#949]: https://github.com/thoughtbot/shoulda-matchers/issues/949
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue