debian-mirror-gitlab/spec/helpers/git_helper_spec.rb
2019-12-21 20:55:43 +05:30

11 lines
246 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
describe GitHelper do
describe '#short_sha' do
let(:short_sha) { helper.short_sha('d4e043f6c20749a3ab3f4b8e23f2a8979f4b9100') }
it { expect(short_sha).to eq('d4e043f6') }
end
end