duojs/duo — pull request #299 by ianstormtaylor (2014-09-07 23:13:51+00:00)
Title: Clean/accessors tests

Here are the tests to go along with #298. What I did was restructure the tests so that the actual `describe('.copy(boolean)')` is just testing the literal `.copy()` method's logic, and then added a `with copy(true)` section to the `.run()` method's tests, since what's really being tested in that case is the run implementation when certain settings are enabled.

_Again you'll want to merge #297 and #298 first probably to make this diff easier to read._