spec/spec_helper.rb in aasm-3.0.25 vs spec/spec_helper.rb in aasm-3.0.26

- old
+ new

@@ -14,10 +14,10 @@ def load_schema config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml')) ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log") ActiveRecord::Base.establish_connection(config['sqlite3']) - load(File.dirname(__FILE__) + "/schema.rb") + require File.dirname(__FILE__) + "/database.rb" end # custom spec helpers Dir[File.dirname(__FILE__) + "/spec_helpers/**/*.rb"].sort.each { |f| require File.expand_path(f) }