Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed Ruby warning "WARNING: Using `expect { }.not_to raise_error(S…
…pecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`." by making test less specific.
- Loading branch information