Created
April 19, 2018 16:46
-
-
Save stratigos/159d1797d2fdd2f12091097ad4fb2d51 to your computer and use it in GitHub Desktop.
RSpec Boolean Matcher Shared Example with Shoulda Matchers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an RSpec matcher to be used when you have robots uploading data (firmware, raspberry pi, IoT boards, etc), and you would like to express a specification in your data models that strictly
true
orfalse
values are the only acceptable input.