iammerrick/Squire.js — pull request #49 by RLovelett (2014-04-17 15:12:25+00:00)
Title: Illustrate Case without Context

Hopefully this illustrates the series of events that would lead to the context being undefined.

This set of tests currently fails with the message:

```
1) issue #34 should STILL not throw exception:
AssertionError: expected [Function] to not throw an error but [TypeError: 'undefined' is not an object (evaluating 'context.undef')] was thrown
at file:///Users/ryan/Source/Squire.js/test/vendor/chai.js:918
at assertThrows (file:///Users/ryan/Source/Squire.js/test/vendor/chai.js:2049)
at file:///Users/ryan/Source/Squire.js/test/vendor/chai.js:3522
at file:///Users/ryan/Source/Squire.js/test/tests/RemoveTests.js:28
at file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4281
at file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4667
at file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4756
at next (file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4592)
at file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4602
at next (file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4540)
at file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4564
at done (file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4255)
at file:///Users/ryan/Source/Squire.js/test/vendor/mocha.js:4267
at file:///Users/ryan/Source/Squire.js/test/tests/RemoveTests.js:19
at file:///Users/ryan/Source/Squire.js/src/Squire.js:183
at file:///Users/ryan/Source/Squire.js/test/vendor/require-2.1.9.js:1604
at file:///Users/ryan/Source/Squire.js/test/vendor/require-2.1.9.js:844
at file:///Users/ryan/Source/Squire.js/test/vendor/require-2.1.9.js:1114
at file:///Users/ryan/Source/Squire.js/test/vendor/require-2.1.9.js:757
at file:///Users/ryan/Source/Squire.js/test/vendor/require-2.1.9.js:1381
```

More code needs to be written to actually fix this issue. @iammerrick wanted a test case that illustrated the when you would not have a context after running `clean` or `remove`.