spec/spec_helper.rb in sinclair-1.1.1 vs spec/spec_helper.rb in sinclair-1.1.2
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'simplecov'
SimpleCov.profiles.define 'gem' do
add_filter '/spec/'
end
@@ -7,11 +9,11 @@
SimpleCov.start 'gem'
require 'sinclair'
require 'pry-nav'
-support_files = File.expand_path("spec/support/**/*.rb")
-Dir[support_files].each { |file| require file }
+support_files = File.expand_path('spec/support/**/*.rb')
+Dir[support_files].each { |file| require file }
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus