Sha256: 1d32963f6cf0a149897664fb7b24662eaa697c9253845147ca7b3a9628dc9678
Contents?: true
Size: 429 Bytes
Versions: 360
Compression:
Stored size: 429 Bytes
Contents
$here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.Tests\.', '.' . "$here\$sut" Describe "HelloWorldTest" { It "outputs 'Hello World!'" { HelloWorld | Should be 'Hello World!' } It "outputs Hello Alice!" { HelloWorld('Alice') | Should be 'Hello Alice!' } It "outpus Hello Bob!" { HelloWorld('Bob') | Should be 'Hello Bob!' } }
Version data entries
360 entries across 360 versions & 1 rubygems