factory_girl_web
A web interface for factory_girl
Installation
First add the gem to your development environment and run the bundle
command to install it.
gem 'factory_girl_web', group: :development
Usage
Add to your routes.rb:
Your::App.routes.draw do
if Rails.env.development?
mount FactoryGirlWeb::Engine, at: '/factory_girl_web'
end
end
Then visit http://localhost:3000/factory_girl_web
, you can create defined factories through web interface.
Contributing
- Fork it
- 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 new Pull Request