saharspec icon indicating copy to clipboard operation
saharspec copied to clipboard

RSpec sugar to DRY your specs

Results 3 saharspec issues
Sort by recently updated
recently updated
newest added

FIx [rubocop-rspec#1290](https://github.com/rubocop/rubocop-rspec/pull/1290). Following discussion in [rubocop-rspec#1291](https://github.com/rubocop/rubocop-rspec/pull/1291). This PR aims to provide a better rubocop configuration to handle implicit subjects, but also add the following drawback: ```ruby its_call(123) { is_expected.to send_message(Foo,...

Hey. Not sure if that's the actual solution but seems to be logical and also works. Versions: - `ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]` - `Rails 7.0.3.1` I have a...

send_message is missing the at_least and at_most constraints https://rspec.info/features/3-12/rspec-mocks/setting-constraints/receive-counts/