/javascript-yml-fixture-generator

A simple JavaScript program for generating infinite fixtures to be used in Ruby on Rails applications

Primary LanguageJavaScript

JavaScript YML Fixture Generator

A simple script that can be run using node.

How to Use

  • Set the number of fixtures you want by adjusting theNumberOfFixturesIWant variable
  • Adjust the format of your fixture in the format function
  • To run the program, go to your terminal, change directory into this folder and runt he program with node fixtureGenerator.js
  • Copy the results from the terminal into your .yml file

Huzzah!