gitlab-org--gitlab-foss/spec/helpers/git_helper_spec.rb
Dmitriy Zaporozhets 45a984b80b Add more tests for merge request versions feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-09-07 10:22:57 +03:00

9 lines
215 B
Ruby

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