Fix2factory
A simple tool for converting Fixtures into Factory Girls
Installation
Add this line to your application's Gemfile:
gem 'fix2factory'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fix2factory
Usage
Go to your Rails app root directroy, run fix2factory
, then it works
Contributing
- Fork it ( https://github.com/[my-github-username]/fix2factory/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request