Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a better exception if Popup.Feedback does not get a block
Before: NoMethodError: undefined method `call' for nil:NilClass After: ArgumentError: block must be supplied This fixes a RSpec warning about testing a generic exception: Using the `raise_error` matcher without providing a specific error or message
- Loading branch information
Showing
2 changed files
with
24 additions
and
18 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