Make clearing the screen the default

This commit is contained in:
Felipe Sere
2016-05-15 18:33:59 +02:00
parent cee05dbfd6
commit 0b508d490d
3 changed files with 8 additions and 8 deletions

View File

@@ -3,12 +3,12 @@ defmodule OptionTest do
test "has default options" do
Options.start([])
refute Options.clear_screen?
assert Options.clear_screen?
end
test "override clearing of screen" do
Options.start(["--clear-screen"])
assert Options.clear_screen?
Options.start(["--no-clear-screen"])
refute Options.clear_screen?
end
test "can target specifc koans" do
@@ -18,6 +18,6 @@ defmodule OptionTest do
test "ignores unknown options" do
Options.start(["--foo"])
refute Options.clear_screen?
assert Options.clear_screen?
end
end