Skip to content

Commit

Permalink
test: add specs for version command with spec/dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgomesxyz committed Apr 16, 2024
1 parent b7d2215 commit 7725f73
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/command/version_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# frozen_string_literal: true

require "spec_helper"

describe Command::Version, parallel: true, slow: false do
it "displays version" do
result = run_command("version")

expect(result[:status]).to eq(0)
expect(result[:stdout]).to include(Cpl::VERSION)
end
end

0 comments on commit 7725f73

Please sign in to comment.