Class: ActiveSupport::TestCase
- Inherits:
- 
      Object
      
        - Object
- ActiveSupport::TestCase
 
- Defined in:
- lib/generators/admin/install/templates/test_unit/test_helper.rb
Instance Method Summary collapse
- 
  
    
      #sign_in_admin_as(user)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Add more helper methods to be used by all tests here… 
Instance Method Details
#sign_in_admin_as(user) ⇒ Object
Add more helper methods to be used by all tests here…
| 13 14 15 | # File 'lib/generators/admin/install/templates/test_unit/test_helper.rb', line 13 def sign_in_admin_as(user) post(admin_sign_in_url, params: { email: user.email, password: "Secret1*3*5*" }); user end |