Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
Require basic object on Ruby 1.8 (needed by active support)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspiller committed Oct 16, 2014
1 parent 37150f9 commit abb28fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
require 'rubygems'

if RUBY_VERSION < "1.9"
require 'backports/basic_object'
end

require 'erb'
require 'rr'
require 'spec'
Expand Down Expand Up @@ -110,4 +115,4 @@ def self.logger
end

Sequel::Model.use_transactions = false
Sequel::Model.db = MODEL_DB = MockDatabase.new
Sequel::Model.db = MODEL_DB = MockDatabase.new

0 comments on commit abb28fe

Please sign in to comment.