Sha256: 746a21b58ec3a8474d6d156b8d5ea27f1b560f9511b3fa60465d04624deeded0
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
describe Metacrunch::File::Reader::PlainFileReader do describe ".accepts?" do it "accepts all filenames" do expect(described_class.accepts?("foo")).to equal(true) expect(described_class.accepts?("foo.gz")).to equal(true) expect(described_class.accepts?("foo.tar.gz")).to equal(true) expect(described_class.accepts?("foo.xml")).to equal(true) expect(described_class.accepts?("foo.zip")).to equal(true) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metacrunch-2.2.1 | spec/metacrunch/file/reader/plain_file_reader_spec.rb |
metacrunch-2.2.0 | spec/metacrunch/file/reader/plain_file_reader_spec.rb |