diff options
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index fb3f218..2fe9378 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -123,14 +123,14 @@ describe Commit do describe '#short_before_sha' do subject { commit.short_before_sha } - it { should have(8).items } + it { expect(subject.length).to eq 8 } it { commit.before_sha.should start_with(subject) } end describe '#short_sha' do subject { commit.short_sha } - it { should have(8).items } + it { expect(subject.length).to eq 8 } it { commit.sha.should start_with(subject) } end |