spec/unit/spec_helper.rb in inqlude-0.8.0 vs spec/unit/spec_helper.rb in inqlude-0.9.0
- old
+ new
@@ -1,10 +1,20 @@
+require "codeclimate-test-reporter"
+CodeClimate::TestReporter.start
+
require 'given_filesystem/spec_helpers'
require_relative "../../lib/inqlude"
+require "nokogiri"
+require "open-uri"
+
def test_data_path file_name
File.expand_path(File.join('../../data/', file_name), __FILE__)
+end
+
+def stubs_path(context)
+ File.expand_path(File.join('../../stubs/', context), __FILE__)
end
def create_manifest name, release_date, version
m = ManifestRelease.new
m.name = name