Sha256: 1c892a1b3bec097e0cb6e3899a3aef5a61e56d66d727f65812b5ae0511074a84
Contents?: true
Size: 516 Bytes
Versions: 3
Compression:
Stored size: 516 Bytes
Contents
require_relative "base_integration_test" include FileUtils class TestVersion < BaseIntegrationTest test_that "--help shows the gem version" do Given { methadone "newgem" } When { @stdout, _, = run_app "newgem", "--help" } Then { assert_match(/v\d+\.\d+\.\d+/, @stdout) } end test_that "--version shows the gem version" do Given { methadone "newgem" } When { @stdout, _, = run_app "newgem", "--version" } Then { assert_match(/v\d+\.\d+\.\d+/, @stdout) } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
methadone-2.0.2 | test/integration/test_version.rb |
methadone-2.0.1 | test/integration/test_version.rb |
methadone-2.0.0 | test/integration/test_version.rb |