Sha256: c6c4d6ec9d596bada8721093d4e0d86cc80560b4c6cb573c597a1b5d58d06a38

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true

require 'shared/rom/files/filesystem_setup'

RSpec.shared_context 'gateway setup' do
  include_context 'filesystem setup'

  let(:configuration) { ROM::Configuration.new(:files, uri, extensions: %i[text markdown]) }
  let(:container) { ROM.container(configuration) }
  let(:gateway) { container.gateways[:default] }

  # @param [Pathname, #to_s] path
  # @return [Pathname]
  def P(path) # rubocop:disable Naming/MethodName
    Pathname(path)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-files-0.2.0 spec/shared/rom/files/gateway_setup.rb