spec/spec_helper.rb in ero_getter-0.1.0 vs spec/spec_helper.rb in ero_getter-0.1.1
- old
+ new
@@ -6,7 +6,12 @@
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
-
+
+end
+
+
+def sample_path(file)
+ File.join(File.dirname(__FILE__), 'samples', file)
end