exercism/crystal/hello-world/spec/hello_world_spec.cr

17 lines
320 B
Crystal
Raw Normal View History

2017-08-12 14:01:07 +00:00
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