Benjamin Quorning
Benjamin Quorning
Today, I used rspectre to remove 250 unused lines from our spec suite. So: Thank you! Quite a few of these removed lets were actually still being referenced in blocks...
Given the following file `spec/foo_spec.rb` ```rb class Foo class
I am working on a large project where running the full test suite takes around 30 minutes. So we split into 15 tasks that are run in parallel. It would...
**Replace this text with a summary of the changes in your PR. The more detailed you are, the better.** ----------------- Before submitting the PR make sure the following are checked:...
The style guide currently says > Use the new lambda literal syntax for single line body blocks. Use the lambda method for multi-line blocks. [link] > > ``` rb >...
As [mentioned in the last release PR](https://github.com/rubocop/rubocop-rspec/pull/1242#issuecomment-1054001111), it’s over a year since we released v2.0.0. Let’s enable all the pending cops and make a v3.0.0 release soon 🎉 --- Before...
I'm seeing double/instance_double/class_double/object_double/spy etc. being called with sometimes a string, sometimes a symbol (perhaps because the rspec-mocks documentation explicitly allows both), and of course sometimes a constant referring to a...
I noticed that @bbatsov added three commits, adding some AsciiDoc documentation: - 0d5031744078ab0787e0f92ff18828743daf6b69 - b15eefbf3d2e7261c38d30637e0eec36620bb055 - 97e8ebbac60845f83eab72d2cf2851a5c629fbb7 I cannot find any related PRs, so probably they were pushed directly to...
Our TODO file mentioned that the `DescribedClass` class was too long. Looking closer at it, I found a couple of methods (`#full_const_name`, `#collapse_namespace`, `#const_name`, and `#namespace`) working on the isolated...
These two cops are almost identical. Would it make sense to extract some shared code from them? @Darhazer @dgollahon