BigW Consortium Gitlab

Commit c61dc131 by Kamil Trzcinski

Fix some changes

parent 5cd504ed
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment