spec/spec_helper_system.rb in rspec-system-0.3.0 vs spec/spec_helper_system.rb in rspec-system-0.3.1

- old
+ new

@@ -1,5 +1,16 @@ require 'rspec-system/spec_helper' +module LocalHelpers + def proj_root + Pathname.new(File.expand_path(File.join(File.dirname(__FILE__), '..'))) + end + + def fixture_root + proj_root + 'spec' + 'fixtures' + end +end + RSpec.configure do |c| c.include RSpecSystem::Helpers + c.include ::LocalHelpers end