Skip to content

Commit

Permalink
Add latest changes from gitlab-org/gitlab@12-9-stable-ee
Browse files Browse the repository at this point in the history
  • Loading branch information
GitLab Bot committed May 13, 2020
1 parent 8ce0cca commit c5d5fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/finders/protected_branches_finder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
end

it 'returns limited protected branches of project' do
expect(subject).to eq([another_protected_branch])
expect(subject.count).to eq(1)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/models/project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5679,7 +5679,7 @@ def enable_lfs
subject { project.limited_protected_branches(1) }

it 'returns limited number of protected branches based on specified limit' do
expect(subject).to eq([another_protected_branch])
expect(subject.count).to eq(1)
end
end

Expand Down

0 comments on commit c5d5fcb

Please sign in to comment.