spec/spec_helper.rb in dbf-2.0.7 vs spec/spec_helper.rb in dbf-2.0.8

- old
+ new

@@ -1,5 +1,11 @@ +begin + require 'codeclimate-test-reporter' + CodeClimate::TestReporter.start +rescue LoadError +end + require 'dbf' require 'rspec' Encoding.default_external = "UTF-8" if defined?(Encoding) @@ -18,6 +24,10 @@ require 'mathn' rescue UnsupportedLibraryError false end end +end + +def fixture_path(filename) + "#{DB_PATH}/#{filename}" end