Sha256: fc5aba8fee6fd72c54418e82c21e459856aac0b728843db124e6caa9369b988b

Contents?: true

Size: 218 Bytes

Versions: 100

Compression:

Stored size: 218 Bytes

Contents

module Jets::SpecHelpers
  module Fixtures
    def fixture_path(filename)
      "#{Jets.root}/spec/fixtures/#{filename}"
    end

    def fixture_file(filename)
      File.new(fixture_path(filename))
    end
  end
end

Version data entries

100 entries across 100 versions & 2 rubygems

Version Path
jets-3.0.21 lib/jets/spec_helpers/fixtures.rb
jets-3.0.20 lib/jets/spec_helpers/fixtures.rb
jets-3.0.19 lib/jets/spec_helpers/fixtures.rb
jets-3.0.18 lib/jets/spec_helpers/fixtures.rb
jets-3.0.17 lib/jets/spec_helpers/fixtures.rb
jets-3.0.16 lib/jets/spec_helpers/fixtures.rb
jets-3.0.15 lib/jets/spec_helpers/fixtures.rb
jets-3.0.14 lib/jets/spec_helpers/fixtures.rb
jets-3.0.13 lib/jets/spec_helpers/fixtures.rb
jets-3.0.12 lib/jets/spec_helpers/fixtures.rb
jets-3.0.11 lib/jets/spec_helpers/fixtures.rb
jets-3.0.10 lib/jets/spec_helpers/fixtures.rb
jets-3.0.9 lib/jets/spec_helpers/fixtures.rb
jets-3.0.8 lib/jets/spec_helpers/fixtures.rb
jets-3.0.7 lib/jets/spec_helpers/fixtures.rb
jets-3.0.6 lib/jets/spec_helpers/fixtures.rb
jets-3.0.5 lib/jets/spec_helpers/fixtures.rb
jets-3.0.4 lib/jets/spec_helpers/fixtures.rb
jets-3.0.3 lib/jets/spec_helpers/fixtures.rb
jets-2.3.19 lib/jets/spec_helpers/fixtures.rb