vendor/bundle/ruby/2.3.0/gems/json_mapper-0.2.1/test/test_helper.rb
# Load a fixture file and return the contents
Load a fixture file and return the contents
Load a fixture file and return the contents
def fixture_file(filename)
  return "" if filename == ""
  file_path = File.expand_path(File.dirname(__FILE__) + "/fixtures/" + filename)
  File.read(file_path)
end
def fixture_file ( filename ) return "" if filename == "" file_path = File . expand_path ( File . dirname ( __FILE__ ) + "/fixtures/" + filename ) File . read ( file_path ) end
Load a fixture file and return the contents
Load a fixture file and return the contents
filename
<not_specific>