Fix regression when stubbed method expects Hash but receives ActionController::Parameters object (#662, #664) - thanks to @evgeni for reporting and testing
2.4.4 (from changelog)
External changes
Fix regression when method expecting Hash parameter or keyword arguments is invoked with no arguments (#662, #663) - thanks to @vlad-pisanov for reporting
2.4.3 (from changelog)
External changes
Fix regression when matching Hash parameter or keyword arguments (#657, #660) - thanks to @josesei for reporting and testing
2.4.2 (from changelog)
External changes
Don't trust Object#is_a? in presence of mock objects (#656) - thanks to @casperisfine
2.4.1 (from changelog)
External changes
Fix regression in matchers when used with keyword arguments (#654 & #655) - thanks to @ElvinEfendi for reporting
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ mocha (2.4.0 → 2.4.5) · Repo · Changelog
Release Notes
2.4.5 (from changelog)
2.4.4 (from changelog)
2.4.3 (from changelog)
2.4.2 (from changelog)
2.4.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 27 commits:
[skip ci] Update documentation for v2.4.5
Bump version to 2.4.5 & prepare for release
Merge pull request #664 from freerange/fix-regression-when-stubbed-method-expects-hash-but-receives-action-controller-parameters-object
Fix exact match on ActionController::Parameters
Add missing unit tests for HasEntries exact option
Add missing unit tests for HasEntries
[skip ci] Update documentation for v2.4.4
Bump version to 2.4.4 & prepare for release
Improve formatting in release notes for v2.4.3
Fix regression when stubbed method invoked with no args
[skip ci] Update documentation for v2.4.3
Bump version to 2.4.3 & prepare for release
Merge pull request #660 from freerange/fix-regression-in-matching-hash-parameter
Require exact match for top-level Hash parameter
Build matcher directly in PositionalOrKeywordHashTest
Set top_level to true in PositionalOrKeywordHashTest
[skip ci] Update documentation for v2.4.2
Bump version to 2.4.2 & prepare for release
Don't trust `Object#is_a?` in presence of Mocks
[skip ci] Fix release notes for v2.4.1
[skip ci] Update documentation for v2.4.1
Bump version to 2.4.1 & prepare for release
Merge pull request #655 from freerange/fix-has-entry-with-keyword-args-regression
Change to_matcher method to take keyword arguments
Consolidate to_matcher definitions in one place
Reduce duplication in to_matcher methods
Fix regression in ParameterMatchers#has_entry, etc
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands