Skip to content

Instantly share code, notes, and snippets.

View sarahsturgeon's full-sized avatar
😅

Sarah Sturgeon sarahsturgeon

😅
View GitHub Profile
# 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