Sha256: 21144ecc054afea0c647ef15dc8db7dc341bf80934978ebf7a597fb656afb76e
Contents?: true
Size: 493 Bytes
Versions: 5
Compression:
Stored size: 493 Bytes
Contents
require './lib/ghit/https_globals' describe Ghit::HttpsGlobals do let(:remote){ "origin\thttps://github.com/someone/something (fetch)" } subject{ described_class.new(remote) } it 'extracts author name from remote' do expect(subject.author).to eq "someone" end it 'extracts repo name from remote' do expect(subject.repository).to eq "something" end it 'extracts repo url from remote' do expect(subject.url).to eq "https://github.com/someone/something" end end
Version data entries
5 entries across 5 versions & 1 rubygems