Sha256: 41771ca1817808fa14495161e1b2abcd26eb79dcf1734aa8d1b83c046a59db95
Contents?: true
Size: 413 Bytes
Versions: 1
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true require 'shared/rom/files/gateway_setup' RSpec.shared_context 'files setup' do include_context 'gateway setup' let(:path) { uri.join(dir) } let(:data) do tree.map do |file, _contents| { __FILE__: path.join(file).relative_path_from(uri) } end end before :each do path.mkpath tree.each { |file, contents| path.join(file).write(contents) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-files-0.2.0 | spec/shared/rom/files/files_setup.rb |