Skip to content
Snippets Groups Projects
Commit 119ac9b8 authored by Robert Speicher's avatar Robert Speicher
Browse files

Update outdated `.items` syntax

parent 7d7f0a29
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -175,7 +175,7 @@ describe Build do
before { build.trace = text }
 
it { should include(text) }
it { should have_at_least(text.length).items }
it { expect(subject.length).to be >= text.length }
end
end
 
Loading
Loading
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment