Sha256: 2ef5fe56f998a1d326aed483241c5f8353c6bb1bb22f7a157e7c7cfeaf302a12
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
require 'spec_helper' require 'raph/parser/file_parser' module Raph module Parser describe FileParser do describe '#parse' do it 'detects files' do expect(subject.parse(['**/*.rb'])).to include(Dir["**/file_parser_spec.rb"].join) end it 'does not detect non files' do expect(subject.parse(['no-such-file.py'])).to be_empty end end describe '#id' do it 'has correct form' do expect(subject.id).to eql :files end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
raph-0.0.2 | spec/raph/parser/file_parser_spec.rb |