require_relative "../../../spec_helper" require "kontena/cli/apps/scale_command" describe Kontena::Cli::Apps::ScaleCommand do let(:subject) do described_class.new(File.basename($0)) end let(:settings) do {'server' => {'url' => 'http://kontena.test', 'token' => token}} end let(:token) do '1234567' end let(:kontena_yml) do yml_content = <