Skip to content

Instantly share code, notes, and snippets.

@alpaca-tc
Created July 11, 2013 12:55
Show Gist options
  • Select an option

  • Save alpaca-tc/5975200 to your computer and use it in GitHub Desktop.

Select an option

Save alpaca-tc/5975200 to your computer and use it in GitHub Desktop.

let b:switch_custom_definitions = [ \ ["describe", "context", "specific", "example"], \ ['before', 'after'], \ ['be_true', 'be_false'], \ ['get', 'post', 'put', 'delete'], \ ['==', 'eql', 'equal'], \ { '.should_not': '.should' }, \ ['.to_not', '.to'], \ { '([^. ]+).should(_not|)': 'expect(\1).to\2' }, \ { 'expect(([^. ]+)).to(_not|)': '\1.should\2' }, \ ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment