Rails minitest assert_equal assert_match regexp question

前端 未结 0 878

I need to assert if a returned string contains one or another substring.

I\'m writing it like this:

if mail.subject.include?(\'Pragmatic Store Order Co         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题