spec/spec_helper.rb in jpeg-0.7.0 vs spec/spec_helper.rb in jpeg-0.7.1
- old
+ new
@@ -1,3 +1,8 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'jpeg'
require 'pry'
+require 'rspec/its'
+
+def sample_file_path(file)
+ File.join(File.dirname(__FILE__), 'samples', file)
+end