diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6bda7cf..2c06742 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1 +1,3 @@ require 'producer/core' + +require 'support/fixtures_helpers' diff --git a/spec/support/fixtures_helpers.rb b/spec/support/fixtures_helpers.rb new file mode 100644 index 0000000..0d52c01 --- /dev/null +++ b/spec/support/fixtures_helpers.rb @@ -0,0 +1,7 @@ +module FixturesHelpers + FIXTURE_PATH = File.join(File.dirname(__FILE__), '..', 'fixtures') + + def fixture_path_for(path) + File.join(FIXTURE_PATH, path) + end +end