-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prior to this commit the specs included the following warning: > WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` > 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)`. With this commit, we're removing that warning. Less warnings, means less chatter. Related to: - #43
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters