exercism/crystal/hello-world/spec/hello_world_spec.cr
2017-08-12 09:01:07 -05:00

17 lines
320 B
Crystal

require "spec"
require "../src/*"
describe "HelloWorld" do
it "no name" do
HelloWorld.hello.should eq("Hello, World!")
end
pending "sample name" do
HelloWorld.hello("Alice").should eq("Hello, Alice!")
end
pending "other sample name" do
HelloWorld.hello("Bob").should eq("Hello, Bob!")
end
end