File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2929      end 
3030
3131      it  "includes the name of the person who re-assigned the lead in the body"  do 
32-         expect ( mail . body . encoded ) . to  match ( "Bob" ) 
32+         expect ( mail . body . encoded ) . to  include ( "Bob" ) 
3333      end 
3434
3535      it  "includes link to the lead in the body"  do 
36-         expect ( mail . body . encoded ) . to  match ( "http://www.example.com/accounts/16" ) 
36+         expect ( mail . body . encoded ) . to  include ( "http://www.example.com/accounts/16" ) 
3737      end 
3838    end 
3939
5454      end 
5555
5656      it  "includes the name of the person who re-assigned the lead in the body"  do 
57-         expect ( mail . body . encoded ) . to  match ( "Bob" ) 
57+         expect ( mail . body . encoded ) . to  include ( "Bob" ) 
5858      end 
5959
6060      it  "includes link to the lead in the body"  do 
61-         expect ( mail . body . encoded ) . to  match ( "http://www.example.com/contacts/56" ) 
61+         expect ( mail . body . encoded ) . to  include ( "http://www.example.com/contacts/56" ) 
6262      end 
6363    end 
6464
7979      end 
8080
8181      it  "includes the name of the person who re-assigned the lead in the body"  do 
82-         expect ( mail . body . encoded ) . to  match ( "Bob" ) 
82+         expect ( mail . body . encoded ) . to  include ( "Bob" ) 
8383      end 
8484
8585      it  "includes link to the lead in the body"  do 
86-         expect ( mail . body . encoded ) . to  match ( "http://www.example.com/leads/42" ) 
86+         expect ( mail . body . encoded ) . to  include ( "http://www.example.com/leads/42" ) 
8787      end 
8888    end 
8989
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments