sinisterchipmunk/genspec — pull request #5 by artem-mindrov (2013-10-17 19:07:18+00:00)
Title: Make destination root consistent with generator options

When I wrap tests in `with_generator_options destination_root: "/path/to/dest/root"`, all result matchers (`subject.should generate(something)`) within the block fail. This is because the matchers still set their own `@destination_root` to a temp directory, while the generator correctly runs with the options specified. This PR is meant to fix the issue.