spec/spec_helper.rb in omniauth-boletosimples-0.0.9 vs spec/spec_helper.rb in omniauth-boletosimples-0.1.0
- old
+ new
@@ -1,8 +1,10 @@
+# frozen_string_literal: true
+
require 'bundler/setup'
require 'rspec'
require 'omniauth'
-Dir[File.expand_path('../support/**/*', __FILE__)].each { |f| require f }
+Dir[File.expand_path('support/**/*', __dir__)].each { |f| require f }
-RSpec.configure do |config|
+RSpec.configure do |_config|
OmniAuth.config.test_mode = true
end