module Shoulda::Matchers::ActiveModel

def have_secure_password

it { should have_secure_password }
Example:

Ensures that the model exhibits behavior added by has_secure_password.
def have_secure_password
  HaveSecurePasswordMatcher.new
end