Created
July 19, 2017 06:52
-
-
Save amyroi/96ea9dcd4c8eefbaf51a50585800bfe9 to your computer and use it in GitHub Desktop.
Match an array of strings by regex Ask
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
let(:methods) { %w(content array sub_class) } | |
expect(methods).not_to include(match /_text/) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment