spec/spec_helper.rb in vectory-0.1.0 vs spec/spec_helper.rb in vectory-0.2.0
- old
+ new
@@ -1,11 +1,18 @@
# frozen_string_literal: true
require "vectory"
+require "tmpdir"
+require "rspec/matchers"
+require "equivalent-xml"
+Dir["./spec/support/**/*.rb"].sort.each { |file| require file }
+
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
+
+ config.include Vectory::Helper
# Disable RSpec exposing methods globally on `Module` and `main`
config.disable_monkey_patching!
config.expect_with :rspec do |c|