Sha256: e745d13061eae6f1470f068b2b6715f6f5eff01a5dd970477288858a01ee0208

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

require 'yaml'
require 'json'
require 'pathname'

require 'rspec/file_fixtures/version'
require 'rspec/file_fixtures/fixture'

module RSpec
  # Provides a `fixture` method in all RSpec tests.
  module FileFixtures
    class Error < StandardError; end

    def fixture(path)
      Fixture.new(path)
    end
  end
end

RSpec.configure do |config|
  config.include(RSpec::FileFixtures)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-file_fixtures-0.1.1 lib/rspec/file_fixtures.rb