spec/spec_helper.rb in squib-0.0.2 vs spec/spec_helper.rb in squib-0.0.3
- old
+ new
@@ -5,5 +5,8 @@
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start
+def test_file(str)
+ "#{File.expand_path(File.dirname(__FILE__))}/data/#{str}"
+end
\ No newline at end of file