notahat/machinist — pull request #115 by austinfromboston (2012-06-22 22:04:52+00:00)
Title: Added ability to set a base serial number

This is for using machinist alongside pre-existing fixtures, for example with the gem FixtureBuilder https://github.com/rdy/fixture_builder.

In this case, fixtures (including serial numbers) may be cached and re-used during multiple test runs. Blueprinted models created during the run where cached fixtures are used should not have the same serial numbers as those stored in the fixture files. A global base serial number value can resolve this.