Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
pusewicz committed Feb 14, 2022
1 parent e02989b commit 9cb4db7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/statique/cli_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ class TestCLI < Minitest::Spec
describe "version" do
it "returns version number with `version`" do
statique "version"
expect(out).must_include "Statique v0.1.0"
expect(out).must_include "Statique v#{Statique::VERSION}"
end

it "returns version number with `-v`" do
statique "-v"
expect(out).must_include "Statique v0.1.0"
expect(out).must_include "Statique v#{Statique::VERSION}"
end

it "returns version number with `--version`" do
statique "--version"
expect(out).must_include "Statique v0.1.0"
expect(out).must_include "Statique v#{Statique::VERSION}"
end
end

Expand Down

0 comments on commit 9cb4db7

Please sign in to comment.