secret
Created

  • Download Gist
rspec
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 
[DEVISE] Devise.apply_schema is deprecated and has no effect. Please remove it.
 
 
[DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.
 
 
User
Validation Checks
should be an instance of User(id: integer, first_name: string, last_name: string, email: string, encrypted_password: string, reset_password_token: string, reset_password_sent_at: datetime, remember_created_at: datetime, sign_in_count: integer, current_sign_in_at: datetime, last_sign_in_at: datetime, current_sign_in_ip: string, last_sign_in_ip: string, address_street_1: string, address_street_2: string, address_city: string, address_state: string, address_postal: string, phone_number: string, created_at: datetime, updated_at: datetime)
should be the proper class
should require first_name to be set
should require last_name to be set
should require email to be set
should require password to be set
should not allow first_name to be set to "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
should not allow last_name to be set to "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
should have many roles
should have many lawfirms
should have many agencies
should have many jobs
should have many token_transactions
 
Finished in 0.37888 seconds
13 examples, 0 failures

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.