chriskite / phactory

A Database Factory for PHP Unit Tests
http://phactory.org
MIT License
140 stars 39 forks source link

Can't create singular tables #3

Closed cgarvis closed 12 years ago

cgarvis commented 13 years ago

Phactory_Blueprint will always pluralize the table.

jblotus commented 13 years ago

I just ran into this today. The solution is to call setInflection() before define(): Phactory::setInflection('table', 'table');

jimbojsb commented 12 years ago

As @jblotus suggests, this is the intended behavior.