From 350972d6be26cacdcb18875055f9723574312966 Mon Sep 17 00:00:00 2001 From: Bruce Williams Date: Fri, 12 Mar 2010 17:44:19 -0800 Subject: Basic SVN provider --- spec/spec_helper.rb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'spec/spec_helper.rb') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a4aeeae..1938658 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,8 +7,17 @@ require 'puppet' gem 'rspec', '=1.2.9' require 'spec/autorun' +module Helpers + + def fixture(name, ext = '.txt') + File.read(File.join(File.dirname(__FILE__), 'fixtures', name.to_s + ext)) + end + +end + Spec::Runner.configure do |config| - config.mock_with :mocha + config.mock_with :mocha + config.include(Helpers) end # We need this because the RAL uses 'should' as a method. This -- cgit v1.2.3