requireFile.expand_path(File.dirname(__FILE__)+'/../spec_helper')describeHealthChecksHelperdoincludeHealthChecksHelperdescribe:check_statusdoit'warns that the check is failing'docheck=double(:message=>'Failed',:ok?=>false)expect(check_status(check)).toinclude('red')endendend