Sha256: ce76207e7f791d277ad3dd110c4d932b960ffe2d8d65a2223d9b559c5ce02116

Contents?: true

Size: 414 Bytes

Versions: 14

Compression:

Stored size: 414 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
trackler-2.0.0.3 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-2.0.0.2 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-2.0.0.1 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-2.0.0.0 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.4.1 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.4.0 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.3.0 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.2.1 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.2.0 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.1.2 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.1.1 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.1.0 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.0.1 tracks/crystal/exercises/hello-world/hello_world_spec.cr
trackler-1.0.0 tracks/crystal/exercises/hello-world/hello_world_spec.cr