Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to set a base serial number #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

austinfromboston
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant