Commit c61dc131 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix some changes

parent 5cd504ed
...@@ -65,7 +65,7 @@ module API ...@@ -65,7 +65,7 @@ module API
expose :issues_enabled, :merge_requests_enabled, :wiki_enabled, :snippets_enabled, :created_at, :last_activity_at expose :issues_enabled, :merge_requests_enabled, :wiki_enabled, :snippets_enabled, :created_at, :last_activity_at
expose :creator_id expose :creator_id
expose :namespace 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 :avatar_url
expose :star_count, :forks_count expose :star_count, :forks_count
end end
......
...@@ -142,7 +142,7 @@ describe CommitStatus do ...@@ -142,7 +142,7 @@ describe CommitStatus do
end end
it 'return statuses with equal and nil ref set' do it 'return statuses with equal and nil ref set' do
is_expected.to eq([@commit1, @commit3]) is_expected.to eq([@commit1])
end end
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