Sha256: a42e4502d736d93b67a9caef2dc3a4c4924dbc8f9a4a50f6e0eca1c0f72082b0
Contents?: true
Size: 688 Bytes
Versions: 58
Compression:
Stored size: 688 Bytes
Contents
describe Kubes::Kubectl::Batch do let(:batch) { described_class.new(options) } let(:options) { {} } describe "batch" do let(:files) do %w[ .kubes/output/clock/deployment.yaml .kubes/output/web/deployment.yaml .kubes/output/web/ingress.yaml .kubes/output/web/service.yaml ] end it "sorted_files" do allow(batch).to receive(:files).and_return(files) expect(batch.sorted_files).to eq( [".kubes/output/clock/deployment.yaml", ".kubes/output/web/service.yaml", ".kubes/output/web/deployment.yaml", ".kubes/output/web/ingress.yaml"]) # ingress should be at the end end end end
Version data entries
58 entries across 58 versions & 1 rubygems