diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-11-06 13:36:41 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-11-06 13:36:41 +0200 |
commit | c812beb9ddcaf7b48e2b0dab8010f86b811f8f2b (patch) | |
tree | 7e9347b79ba4e7877dd2744150efeb3dd2c3f3b9 /spec/models/commit_spec.rb | |
parent | bd144a604f3c72552cd112fdffc3a402e69b628c (diff) | |
download | gitlab-ci-c812beb9ddcaf7b48e2b0dab8010f86b811f8f2b.tar.gz |
Fix spec files
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index 2b14053..430f62f 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -111,7 +111,7 @@ describe Commit do describe :valid_commit_sha do context 'commit.sha can not start with 00000000' do before do - commit.sha = '0' * 32 + commit.sha = '0' * 40 commit.valid_commit_sha end @@ -130,14 +130,14 @@ describe Commit do describe :short_sha do subject { commit.short_before_sha } - it { should have(9).items } + it { should have(8).items } it { commit.before_sha.should start_with(subject) } end describe :short_sha do subject { commit.short_sha } - it { should have(9).items } + it { should have(8).items } it { commit.sha.should start_with(subject) } end |