diff --git a/spec/command/version_spec.rb b/spec/command/version_spec.rb new file mode 100644 index 00000000..4cf85868 --- /dev/null +++ b/spec/command/version_spec.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +require "spec_helper" + +describe Command::Version do + it "displays version" do + result = run_command("version") + + expect(result[:status]).to eq(0) + expect(result[:stdout]).to include(Cpl::VERSION) + end +end