Sha256: bbabb8f81ea513bd5a840c2860d2b7778ff5b5793a6fa8a440050a1b19d7186b

Contents?: true

Size: 502 Bytes

Versions: 3

Compression:

Stored size: 502 Bytes

Contents

require 'spec_helper'

describe GitRemote do
  context "when passed a SSH url to a repo" do
    subject { described_class.new('git@github.com:pcreux/pimpmychangelog.git') }

    its(:user) { should == 'pcreux' }
    its(:project) { should == 'pimpmychangelog' }
  end

  context "when passed a HTTPS url to a repo" do
    subject { described_class.new('https://github.com/pcreux/pimpmychangelog.git') }

    its(:user) { should == 'pcreux' }
    its(:project) { should == 'pimpmychangelog' }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pimpmychangelog-0.1.2 spec/git_remote_spec.rb
pimpmychangelog-0.1.1 spec/git_remote_spec.rb
pimpmychangelog-0.1.0 spec/git_remote_spec.rb