Sha256: 2d7bf148fd160177cdf10d473e5db9cf5782a6f1fa5d13da48a943b1f92f1e0f

Contents?: true

Size: 199 Bytes

Versions: 3

Compression:

Stored size: 199 Bytes

Contents

require 'pathname'

module FixturesHelper
  def fixture_path(*args)
    directory = Pathname.new(File.dirname(File.absolute_path(__FILE__)))
    directory.join('..', 'fixtures', *args).to_s
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ru2-2.3.1 spec/support/fixtures_helper.rb
ru2-2.3.0 spec/support/fixtures_helper.rb
ru2-2.2.0 spec/support/fixtures_helper.rb