Sha256: 90938334e1a7904a155c6fa994d87f8e22010bdb839438554134e7013b39bcda
Contents?: true
Size: 692 Bytes
Versions: 40
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true require 'avm/launcher/vendor/github' RSpec.describe ::Avm::Launcher::Vendor::Github do describe '#to_ssh_url' do SSH_URL = 'git@github.com:esquilo-azul/eac_launcher.git' NO_SSH_URL = 'https://otherhost.com/esquilo-azul/eac_launcher' { nil => nil, ' ' => nil, 'https://github.com/esquilo-azul/eac_launcher' => SSH_URL, 'https://github.com/esquilo-azul/eac_launcher.git' => SSH_URL, SSH_URL => SSH_URL, NO_SSH_URL => NO_SSH_URL }.each do |input, expected| it "converts \"#{input}\" to \"#{expected}\"" do expect(described_class.to_ssh_url(input)).to eq(expected) end end end end
Version data entries
40 entries across 40 versions & 1 rubygems