Skip to content

Instantly share code, notes, and snippets.

View ianyamey's full-sized avatar

Ian Yamey ianyamey

  • New York, NY, USA
View GitHub Profile
@ianyamey
ianyamey / example.md
Last active March 24, 2016 11:28
A spec helper for VCR that separates cassettes into directories

The "vcr.rb" spec helper in this gist will create cassettes with readable filename structures. It aims to avoid extremely long filenames for cassets that can break Docker builds.

For example:

# spec/features/life/quotes_widget_spec.rb
describe 'Life quotes widget', :vcr do
  context 'when the user knows their coverage amount' do
    it 'redirects to the health navigator' do
 # ...
@ianyamey
ianyamey / application-workflow.html
Last active August 29, 2015 14:10
Agent Workflow
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.rawgit.com/knsv/mermaid/master/dist/mermaid.full.min.js"></script>
<meta charset="utf-8">
<title>Application</title>
</head>
<body>
<div class="mermaid">
graph LR;