spec/support/models.rb in ripple-0.9.5 vs spec/support/models.rb in ripple-1.0.0.beta

- old
+ new

@@ -1,3 +1,34 @@ -Dir[File.expand_path("../models/*.rb", __FILE__)].each do |file| - require "support/models/#{File.basename(file)}" +# You MUST add models to this file, in the correct order by +# dependency (no deps at top). There is no auto-require. +%w[ + note + page + box + car + clock + customer + email + family + favorite + subscription + team + transactions + tree + widget + address + cardboard_box + clock_observer + invoice + paid_invoice + late_invoice + company + profile + user + ninja + tasks + credit_card + post + nested + ].each do |file| + require File.join("support", "models", file) end