spec/spec_helper.rb in spotlight-0.0.2 vs spec/spec_helper.rb in spotlight-0.0.3

- old
+ new

@@ -2,8 +2,12 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'spotlight' require 'spec' require 'spec/autorun' +system('mdimport ' + File.dirname(__FILE__)) + Spec::Runner.configure do |config| - + def fixture(filename) + File.dirname(__FILE__) + '/fixtures/' + filename + end end