No commit activity in last 3 years
No release in over 3 years
This rubygem does not have a description or summary.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0

Runtime

 Project Readme

model_2_factory-rails

Gem Version Downloads Build Status Code Climate Contributors

Factory model class generator for rails model class.

Description

Generate factory model class from rails active record class for rails-rspec test code.

Prerequisites

Require following gem to be included in your gem file:

  • factory_girl-rails
factory_girl-rails

Installing

Add this line to your application's Gemfile:

gem 'model_2_factory-rails'

And then execute:

$ bundle

Or install it globally in your system:

$ gem install model_2_factory-rails

Usage

To generate factory class for your existing model class

$ bundle exec factory_gen your_model_name

Contributing

Bug reports and pull requests are welcome on GitHub at model_2_factory-rails repository. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

FOSSA Status