Created
October 28, 2014 15:33
-
-
Save didlix/8774e3b4b9e0ac7289ed to your computer and use it in GitHub Desktop.
Literally coding social expectations
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
it { should allow_value('male').for(:gender) } | |
it { should allow_value('female').for(:gender) } | |
it { should_not allow_value('').for(:gender) } | |
it { should_not allow_value('other').for(:gender) } | |
it { should allow_value(nil).for(:gender) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment