require_relative "spec_helper" include GivenFilesystemSpecHelpers describe YSI::Git do describe "#origin" do subject { YSI::Git.new(YSI::Executor.new) } it "grabs the url without the extension" do allow(subject).to receive(:run_git).with(["remote","-v"]).and_return(<