spec/spec_helper.rb in sequel_model-0.2 vs spec/spec_helper.rb in sequel_model-0.3
- old
+ new
@@ -1,5 +1,8 @@
require 'rubygems'
+unless Object.const_defined?('Sequel')
+ require 'sequel_core'
+end
require File.join(File.dirname(__FILE__), "../lib/sequel_model")
class MockDataset < Sequel::Dataset
def insert(*args)
@db.execute insert_sql(*args)
\ No newline at end of file