[#247] fix mistype
This commit is contained in:
parent
5435226d66
commit
12fa792ddd
|
@ -26,7 +26,7 @@ class Platforms::MassBuildsController < Platforms::BaseController
|
|||
|
||||
def publish
|
||||
if params[:status] == 'test_failed'
|
||||
@mass_build.publish_test_faild_builds current_user
|
||||
@mass_build.publish_test_failed_builds current_user
|
||||
else
|
||||
@mass_build.publish_success_builds current_user
|
||||
end
|
||||
|
|
|
@ -89,10 +89,10 @@ class MassBuild < ActiveRecord::Base
|
|||
end
|
||||
later :publish_success_builds, :queue => :clone_build
|
||||
|
||||
def publish_test_faild_builds(user)
|
||||
def publish_test_failed_builds(user)
|
||||
publish user, BuildList::TESTS_FAILED
|
||||
end
|
||||
later :publish_test_faild_builds, :queue => :clone_build
|
||||
later :publish_test_failed_builds, :queue => :clone_build
|
||||
|
||||
private
|
||||
|
||||
|
|
Loading…
Reference in New Issue