Naming
This commit is contained in:
15
test/cli/main_test.rb
Normal file
15
test/cli/main_test.rb
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
require "test_helper"
|
||||||
|
require "active_support/testing/stream"
|
||||||
|
require "mrsk/cli"
|
||||||
|
|
||||||
|
class CommandsAppTest < ActiveSupport::TestCase
|
||||||
|
include ActiveSupport::Testing::Stream
|
||||||
|
|
||||||
|
setup do
|
||||||
|
end
|
||||||
|
|
||||||
|
test "version" do
|
||||||
|
version = capture(:stdout) { Mrsk::Cli::Main.new.version }.strip
|
||||||
|
assert_equal Mrsk::VERSION, version
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user