Created
November 3, 2015 17:12
-
-
Save brandonsturgeon/963e24e6633592c79a54 to your computer and use it in GitHub Desktop.
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
# Um, am I allowed ot do this, or is this cheating?? | |
Account.good_params.each do |param, value| | |
it "should be invalid with nil #{param}" do | |
account = Account.good_account | |
account[param] = nil | |
expect(account).to be_invalid | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment