Sha256: 3c5833ec1d706f3ba95b9ff7725419834c6257d3541fefc324bc7fe1529bc76c
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true require 'rom/files/dataset' require 'shared/rom/files/media_dataset' RSpec.describe ROM::Files::Dataset, '#inside' do include_context 'media dataset' subject(:dataset) { described_class.new(uri.join(dir)) } context '(dirname)' do subject { dataset.inside('lib') } its(:inside_paths) { is_expected.to eql [Pathname('lib')] } end context '(list, of, directories)' do subject { dataset.inside('lib', 'spec') } its(:inside_paths) { is_expected.to eql [Pathname('lib'), Pathname('spec')] } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-files-0.2.0 | spec/lib/rom/files/dataset/inside_spec.rb |