Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git_helper_spec.rb « helpers « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9b1ef1e05a2daaae5e6520238cdcf03b5d148569 (plain)
1
2
3
4
5
6
7
8
9
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