Sha256: 218672644243c87db208537e184b17bfc6f1316efb8551e85f52dbd838a17759

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

require_relative "spec_helper"

describe YSI::Git do
  it "#origin" do
    allow(subject).to receive(:run_git).with("remote -v").and_return(<<EOT
origin  git@github.com:cornelius/red_herring (fetch)
origin  git@github.com:cornelius/red_herring (push)
EOT
    )

    expect(subject.origin).to eq("git@github.com:cornelius/red_herring")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yes_ship_it-0.0.4 spec/unit/git_spec.rb