Sha256: f5d3b8425d853bdc5cfc4f11840d6f7b608d8da3e131c7beeab3669bb5db75f7
Contents?: true
Size: 398 Bytes
Versions: 17
Compression:
Stored size: 398 Bytes
Contents
require '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
17 entries across 17 versions & 1 rubygems