Last active
October 20, 2018 15:54
-
-
Save hanneskaeufler/b8bfd04bd22cbeccc96b026586c1412d to your computer and use it in GitHub Desktop.
100% code coverage but not really uncovered
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# valid.cr | |
def valid? | |
true | |
end | |
# valid_spec.cr | |
require "./valid" | |
require "spec" | |
describe "valid?" do | |
it "works" do | |
valid?.should be_a(Bool) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment