exercism/crystal/hello-world/hello_world_spec.cr

19 lines
414 B
Crystal
Raw Normal View History

2016-08-15 19:08:39 +00:00
require "spec"
require "./hello_world"
describe "HelloWorld" do
describe "#hello" do
it "says hello with default 'World'" do
HelloWorld.hello.should eq "Hello, World"
end
pending "says hello with one name" do
HelloWorld.hello("Max").should eq "Hello, Max"
end
pending "says hello with another name" do
HelloWorld.hello("Alice").should eq "Hello, Alice"
end
end
end