Skip to content

Commit

Permalink
Fix class name
Browse files Browse the repository at this point in the history
  • Loading branch information
dturn committed Nov 4, 2019
1 parent f9c446e commit f57de6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/helpers/fixture_deploy_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ def deploy_dirs_without_profiling(dirs, wait: true, allow_protected_ns: false, p

def global_deploy_dirs_without_profiling(dirs, verify_result: true, prune: false,
global_timeout: 300, selector:)
Krane::FormattedLogger.expects(:build).returns(@logger)
deploy = Krane::GlobalDeployTask.new(
context: KubeclientHelper::TEST_CONTEXT,
filenames: Array(dirs),
global_timeout: global_timeout,
selector: Krane::LabelSelector.parse(selector),
)
deploy.instance_eval("@task_config").instance_variable_set("@logger", logger)
deploy.run(
verify_result: verify_result,
prune: prune
Expand Down
2 changes: 1 addition & 1 deletion test/integration/global_deploy_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true
require 'integration_test_helper'

class SerialDeployTest < Krane::IntegrationTest
class GlobalDeployTest < Krane::IntegrationTest
include StatsDHelper
def test_global_deploy_task_success
assert_deploy_success(deploy_global_fixtures('globals'))
Expand Down

0 comments on commit f57de6d

Please sign in to comment.