[#247] fix mistype

This commit is contained in:
Alexander Machehin 2013-08-02 17:23:10 +06:00
parent 5435226d66
commit 12fa792ddd
2 changed files with 3 additions and 3 deletions

View File

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

View File

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