spec/unit/git/alternates_spec.rb in r10k-1.3.1 vs spec/unit/git/alternates_spec.rb in r10k-1.3.2

- old
+ new

@@ -4,10 +4,10 @@ describe R10K::Git::Alternates do subject { described_class.new("/some/nonexistent/path/.git") } it "interacts with the alternates file in the given git repository" do - expect(subject.file.to_path).to eq("/some/nonexistent/path/.git/objects/info/alternates") + expect(subject.file.to_s).to eq("/some/nonexistent/path/.git/objects/info/alternates") end describe "reading alternate object entries" do it "reads the alternates file and splits on lines" do expect(subject.file).to receive(:file?).and_return true