rspec/rspec-expectations
Provides a readable API to express expected outcomes of a code example
RubyMIT
Issues
- 11
- 3
`NoMethodError` when `receive` and `have_receive` are aliased with `alias_matcher`. Conflicts with ActiveSupport's `Object#with`
#1454 opened by pucinsk - 1
- 5
Regression in 3.13: custom matcher hash argument improperly converted to keyword args, results in `ArgumentError`
#1451 opened by myronmarston - 2
- 2
Inconsistent markdown use causing documentation to not highlight syntax
#1446 opened by threeplanetssoftware - 9
Compound expectations of OutputMatcher do not print a diff in their failure output, but Single expectations do
#1406 opened by henrahmagix - 11
`BuiltIn::Compound` vs redefined `actual`
#1317 opened by zverok - 4
- 6
Output chained matchers description
#1439 opened by inkstak - 5
- 5
Custom Matcher Used via alias_matcher Conflicts With ActiveSupport's `Object#with`
#1437 opened by sshaw - 2
"NotImplementedError: `expect { }.not_to change { }.by()` is not supported" - would be nice to improve
#1433 opened by loqimean - 2
- 5
`include` matcher is not diffable enough
#1321 opened by ojab - 5
- 2
- 3
[Ruby 3] - ArgumentError when integrating with capybara
#1329 opened by alecslupu - 0
`start_with` and `end_with` matcher failure output does not include a diff on multi-line strings
#1421 opened by myronmarston - 9
Ruby 3.0.3 and keyword arguments
#1350 opened by enthusiasmus - 8
- 0
update repository 'About' setting to use rspec.info docs url instead of Relish
#1417 opened by tomczak-mateusz - 1
- 4
- 7
The `define_negated_matcher` is broken for matchers with named parameters in Ruby 3
#1393 opened by bfad - 14
- 1
Unexpected behavior when asserting an array of hashes with `eq` and `hash_inlcuding`
#1379 opened by amiratak88 - 1
- 2
Add `having_attributes` to the `raise_error` matcher
#1377 opened by Darhazer - 2
Incorrect output with a reused argument matcher
#1287 opened by pirj - 1
match_array is not documented
#1369 opened by yskkin - 6
- 2
Ruby 3.0.2 bundle install tries to install rubysl
#1358 opened by dblock - 4
- 6
`expect` with no arguments can cause confusion
#1354 opened by solnic - 2
- 8
NameError on Ruby 3.1 breaks error matching
#1338 opened by petergoldstein - 16
Adding Ruby 3.1 to CI
#1340 opened by petergoldstein - 1
Chaining different block-expecting matchers
#1336 opened by apotonick - 12
expect(actual).to eq(expected) is giving error -> Error Message: TypeError: no implicit conversion of nil into String
#1335 opened by adalberto02 - 3
Slow sequential And
#1331 opened by Lukom - 5
Weird output behavior when using compound expectations
#1323 opened by noon-ng - 10
- 7
Provide both strict (true/false) and loose (truthy/falsey) forms of the be/have matchers
#1300 opened by pirj - 10
$stdout.ioctl is not defined when using output matcher
#1305 opened by JunichiIto - 0
Add deprecations warnings for RSpec 4
#1302 opened by benoittgt - 7
What is the recommended way to create dynamic matchers?
#1299 opened by joshbuker - 3
raise_error obscures failures from nested expectations
#1293 opened by dmolesUC - 1
- 4
ArgumentError: Cannot proxy frozen objects, rspec-mocks relies on proxies for method stubbing and expectations for boolean objects
#1270 opened by bestwebua