test/test_helper.rb in lagunitas-0.0.2 vs test/test_helper.rb in lagunitas-0.0.3
- old
+ new
@@ -1,15 +1,19 @@
+# frozen_string_literal: true
+
require 'rubygems'
require 'bundler'
Bundler.require :test
require 'minitest/autorun'
require 'lagunitas'
# Support files
-Dir["#{File.expand_path(File.dirname(__FILE__))}/support/*.rb"].each do |file|
+Dir["#{__dir__}/support/*.rb"].sort.each do |file|
require file
end
-class Lagunitas::TestCase < MiniTest::Test
- include Lagunitas
+module Lagunitas
+ class TestCase < MiniTest::Test
+ include Lagunitas
+ end
end