Skip to content

Instantly share code, notes, and snippets.

@steveburkett
Created November 11, 2011 19:35
Show Gist options
  • Save steveburkett/1358989 to your computer and use it in GitHub Desktop.
Save steveburkett/1358989 to your computer and use it in GitHub Desktop.
it "should return a formatted string of all the errors (comma-delimited)" do
@runner.monitor_task { @runner.error "an error happened"}
DailyErrorNotifier.expects(:send_error_to_pager_duty).once
@runner.check_for_errors
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment