Sha256: 002e9ffd135f2d7f8340d7aa523836313caa28e9fef14c4480e7d5d7f92cb5b9
Contents?: true
Size: 237 Bytes
Versions: 48
Compression:
Stored size: 237 Bytes
Contents
RSpec.configure do |config| def load_fixture(name, type='txt') type = type.to_s string = File.read(File.join(File.dirname(__FILE__), 'fixtures', "#{name}.#{type}")) type == 'txt' ? string : string.gsub("\n",'') end end
Version data entries
48 entries across 48 versions & 2 rubygems