Testing
describe ClassName do
it "description of what it should do" do
.... {expected behaviour}
end
endNaming test files
crystal specshould
shouldsomeValue.should expectationmyNumber.should eq(5)Last updated
describe ClassName do
it "description of what it should do" do
.... {expected behaviour}
end
endcrystal specshouldsomeValue.should expectationmyNumber.should eq(5)Last updated