Sha256: 606b12c2c7dd991ba2cfe83ec94e2818f8fbf4df1d182a889934ec0520d8c3c0
Contents?: true
Size: 448 Bytes
Versions: 29
Compression:
Stored size: 448 Bytes
Contents
# encoding: utf-8 require "stud/temporary" require "fileutils" if Gem.win_platform? require "filewatch/winhelper" describe Winhelper do let(:path) { Stud::Temporary.file.path } after do FileUtils.rm_rf(path) end it "return a unique file identifier" do identifier = Winhelper.identifier_from_path(path) expect(identifier).not_to eq("unknown") expect(identifier.count("-")).to eq(2) end end end
Version data entries
29 entries across 29 versions & 1 rubygems