Method: Enforce::DSL#no_text

Defined in:
lib/enforce/dsl.rb

#no_text(content) ⇒ Object



41
42
43
44
# File 'lib/enforce/dsl.rb', line 41

def no_text(content)
  pass = !File.read(last_file).include?(content)
  add_result message: "no_text `#{content}`", pass: pass
end