spec/spec_helper.rb in creditsafe-0.5.0 vs spec/spec_helper.rb in creditsafe-0.5.1
- old
+ new
@@ -1,13 +1,14 @@
# frozen_string_literal: true
-require 'webmock/rspec'
-require 'nokogiri'
-require 'rspec/its'
-require 'compare-xml'
+require "webmock/rspec"
+require "nokogiri"
+require "rspec/its"
+require "compare-xml"
+
def load_fixture(name)
- File.read(File.join(File.dirname(__FILE__), 'fixtures', name))
+ File.read(File.join(File.dirname(__FILE__), "fixtures", name))
end
def load_xml_fixture(name)
- Nokogiri::XML(File.open(File.join(File.dirname(__FILE__), 'fixtures', name)))
+ Nokogiri::XML(File.open(File.join(File.dirname(__FILE__), "fixtures", name)))
end