spec/helpers/data.rb in data_paths-0.2.1 vs spec/helpers/data.rb in data_paths-0.3.0.rc1
- old
+ new
@@ -6,7 +6,7 @@
DATA_DIRS = [
File.expand_path(File.join(File.dirname(__FILE__),'data1')),
File.expand_path(File.join(File.dirname(__FILE__),'data2')),
]
- DATA_DIRS.each { |dir| register_data_dir dir }
+ DATA_DIRS.each { |path| register_data_path(path) }
end