Sha256: f6a31ed4f2f8a48fb5ba2690e219b4db87a55f866459768b135049d0974e7b2f

Contents?: true

Size: 250 Bytes

Versions: 4

Compression:

Stored size: 250 Bytes

Contents

module FixturesSupport
  def fixture(filename)
    File.join(root_path, "/spec/support/fixtures", filename)
  end

  def root_path
    File.expand_path('../../..', __FILE__)
  end
end

RSpec.configure do |config|
  config.include FixturesSupport
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
file_processor-0.3.1 spec/support/fixtures.rb
file_processor-0.3.0 spec/support/fixtures.rb
file_processor-0.2.0 spec/support/fixtures.rb
file_processor-0.1.0 spec/support/fixtures.rb