Fix some changes
This commit is contained in:
parent
5cd504ed33
commit
c61dc13150
|
@ -65,7 +65,7 @@ module API
|
|||
expose :issues_enabled, :merge_requests_enabled, :wiki_enabled, :snippets_enabled, :created_at, :last_activity_at
|
||||
expose :creator_id
|
||||
expose :namespace
|
||||
expose :forked_from_project, using: Entities::ForkedFromProject, if: lambda { |project, options| project.forked? }
|
||||
expose :forked_from_project, using: Entities::ForkedFromProject, if: lambda{ | project, options | project.forked? }
|
||||
expose :avatar_url
|
||||
expose :star_count, :forks_count
|
||||
end
|
||||
|
|
|
@ -142,7 +142,7 @@ describe CommitStatus do
|
|||
end
|
||||
|
||||
it 'return statuses with equal and nil ref set' do
|
||||
is_expected.to eq([@commit1, @commit3])
|
||||
is_expected.to eq([@commit1])
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue