mobify/lockup — pull request #7 by scalvert (2014-12-11 19:37:31+00:00)
Title: Adding destroy function and tests

Added destroy function.

Status: **Ready to merge**

Reviewers: @kpeatt @tedtate
JIRA: https://mobify.atlassian.net/browse/CSOPS-950
Linked PRs: https://github.com/mobify/pinny/pull/61

## Changes
- added `destroy` function
- updated tests with `destroy` function

## How to test-drive this PR
- checkout this branch
- `grunt test`
- `grunt serve` and check out the example page
- in the console, call `destroy` on a pinny and ensure it's destroyed