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

  1. Fork it ( https://github.com/[my-github-username]/fix2factory/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request