Sha256: bf53c7731ae3b52c21d2e549f3fc7ece2a4aad1dc31d646c449dabcc065effea
Contents?: true
Size: 401 Bytes
Versions: 6
Compression:
Stored size: 401 Bytes
Contents
require 'spec_helper' describe LicenseFinder::FileParser do subject { LicenseFinder::FileParser.new('root', 'root/nested/path') } context "ignoring text" do before do stub(IO).read { "file text" } stub(IO).binread { "file text" } end its(:file_path) { should == 'nested/path' } its(:file_name) { should == 'path' } its(:text) { should == 'file text' } end end
Version data entries
6 entries across 6 versions & 1 rubygems