Sha256: 5d29c63084dbcbef1e9bbc3d3a7d861b2de6cfa7a4fecf36de42bf958d7b540c
Contents?: true
Size: 642 Bytes
Versions: 13
Compression:
Stored size: 642 Bytes
Contents
require 'spec_helper' require 'helpers/files' require 'ore/document_file' describe DocumentFile do include Helpers::Files subject { DocumentFile.new(file('.document')) } it "should parse the file globs from a .document file" do subject.file_globs.to_a.should =~ %w[ lib/**/*.rb bin/* ] end it "should parse the extra-file globs from a .document file" do subject.extra_file_globs.to_a.should =~ %w[ ChangeLog.md COPYING.txt ] end it "should not consume the - separator" do subject.file_globs.should_not include('-') subject.extra_file_globs.should_not include('-') end end
Version data entries
13 entries across 13 versions & 2 rubygems