exercism/crystal/hello-world/hello_world_spec.cr
2016-08-15 14:08:39 -05:00

19 lines
414 B
Crystal

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