public
Fork of notahat/machinist
Description: A Rails plugin to help populate your database with data for tests.
Homepage:
Clone URL: git://github.com/technoweenie/machinist.git
machinist / init.rb
100644 9 lines (7 sloc) 0.122 kb
1
2
3
4
5
6
7
8
9
if RAILS_ENV == 'test'
  require 'machinist'
  require 'sham'
 
  class ActiveRecord::Base
    include Machinist
  end
end