Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # TODO - THE LAMBDA NEEDED TO AVOID USER MONITORING CRAP seems to break assertions?
- Moderation::Blocked::Email.add('kali.donovan@gmail.com')
- @user = User.new({
- :email => 'kali.donovan+123@gmail.com',
- :password => 'pa33word', :password_confirmation => 'pa33word',
- :login => 'just-a-dumb-test'
- })
- @user.should_not be_valid
- @user.errors.full_messages.should include("Sorry, this email has been blocked from the Kroogi Network")
Add Comment
Please, Sign In to add comment