a guest Jun 17th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- test "should not save if email exists" do
- slogan = Slogan.create(firstname: 'tristan', lastname: 'vermeesch', email: 'email@example.com', slogan: 'Test')
- assert slogan.valid?, "Email already in use"
RAW Paste Data