Fix some changes

This commit is contained in:
Kamil Trzcinski 2015-10-12 16:41:36 +02:00
parent 5cd504ed33
commit c61dc13150
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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