Project

fixtures

0.0
No commit activity in last 3 years
No release in over 3 years
now you can do object.to_fixtures and use in tests
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

BETA

How to use

need add line
require 'fixtures/fixtures'
in your environment.rb

gem 'fixtures'
in you Gemfile

active_record_object.to_hash
will convert object to hash

active_record_object.to_fixtures
will add fixtures to test/fixtures/table_name.yml