spec/unit/util/cacheable_spec.rb in r10k-3.14.2 vs spec/unit/util/cacheable_spec.rb in r10k-3.15.0

- old
+ new

@@ -4,13 +4,13 @@ RSpec.describe R10K::Util::Cacheable do subject { Object.new.extend(R10K::Util::Cacheable) } describe "dirname sanitization" do - let(:input) { 'git://some/git/remote' } + let(:input) { 'https://some/git/remote' } it 'sanitizes URL to directory name' do - expect(subject.sanitized_dirname(input)).to eq('git---some-git-remote') + expect(subject.sanitized_dirname(input)).to eq('https---some-git-remote') end context 'with username and password' do let(:input) { 'https://"user:pa$$w0rd:@authenticated/git/remote' }