spec/spec_helper.rb in youpy-scissor-echonest-0.0.2 vs spec/spec_helper.rb in youpy-scissor-echonest-0.0.3
- old
+ new
@@ -1,9 +1,10 @@
$:.unshift File.dirname(__FILE__) + '/../lib/'
require "scissor/echonest"
+require "pathname"
module SpecHelper
def fixture(filename)
- File.dirname(__FILE__) + '/fixtures/' + filename
+ Pathname.new(File.dirname(__FILE__) + '/fixtures/' + filename).realpath
end
end