Skip to content

Commit 9efdbc3

Browse files
committed
Changelog for #2509, #2514
1 parent 88a8dc0 commit 9efdbc3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Bug Fixes:
1313
* Fix `ActiveRecord::TestFixture#uses_transaction` by using example description
1414
to replace example name rather than example in our monkey patched
1515
`run_in_transaction?` method. (Stan Lo, #2495)
16+
* Prevent keyword arguments being lost when methods are invoked dynamically
17+
in controller specs. (Josh Cheek, #2509, #2514)
1618

1719
### 5.0.1 / 2021-03-18
1820
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.0...v5.0.1)

spec/rspec/rails/example/controller_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def method_missing(_name, *_args, **kwargs, &_block); a_method(**kwargs); end
2727

2828
# This example requires prepend so that the `method_missing` definition
2929
# from `ControllerExampleGroup` bubbles up to our artificial one, in reality
30-
# this is likely to be either an internal RSpec dispatch or one from a 3rd
30+
# this is likely to be either an internal RSpec dispatch or one from a 3rd
3131
# party gem.
3232
prepend ControllerExampleGroup
3333
end

0 commit comments

Comments
 (0)