Skip to content

Commit

Permalink
[WIP] CLI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tcd committed Jan 4, 2020
1 parent 265ad47 commit bed3148
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/eddy/cli_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
require "test_helper"

class CLITest < Minitest::Test

def test_version
skip("Figure out how to test cli output.")
out, err = capture_io do
Eddy::CLI.start(["--version"])
end
assert_equal("", err)
assert_equal("Eddy version #{Eddy::VERSION}", out)
end

def test_segment
skip()
end

def test_set
skip()
end

end

0 comments on commit bed3148

Please sign in to comment.