1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: Lucas Kanashiro <lucas.kanashiro@collabora.co.uk>
Date: Thu, 23 Aug 2018 10:13:38 -0300
Subject: Remove bundler setup from tests
---
test/helper.rb | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/test/helper.rb b/test/helper.rb
index 0a23919..f0f8faa 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -2,19 +2,10 @@
# $DEBUG = true
-require "rubygems"
-require "bundler/setup"
-begin
- Bundler.setup(:default, :development)
-rescue Bundler::BundlerError => e
- $stderr.puts e.message
- $stderr.puts "Run `bundle install` to install missing gems"
- exit e.status_code
-end
require "active_record"
require "minitest/autorun"
require "mocha/minitest"
-require "#{File.dirname(__FILE__)}/../init"
+require "acts_as_list"
if defined?(ActiveRecord::VERSION) &&
ActiveRecord::VERSION::MAJOR == 4 && ActiveRecord::VERSION::MINOR >= 2
|