Sha256: 09df3af19291f16bd2db6192bddb0db5924257c3dbd4a1303818e79b3364f3ba
Contents?: true
Size: 402 Bytes
Versions: 40
Compression:
Stored size: 402 Bytes
Contents
require 'lib/spec_helper' shared_examples :path_finder do # @param path # the path we want to read # # @param full_path # the expanded path that should be found # it 'returns the full path if the path exists' do expect(path_finder.find(path)).to eq(full_path) end it 'returns nil if the path is missing' do expect(path_finder.find('unexpected-path')).to eq(nil) end end
Version data entries
40 entries across 40 versions & 3 rubygems