Chapter 6: FizzBuzz
$ crystal init app fizzbuzzrequire "./spec_helper"
describe Fizzbuzz do
it "shouldn't divide 1 by 3" do
div_by_three(1).should eq(false)
end
end$ crystal spec
Error in ./spec/fizzbuzz_spec.cr:7: undefined method 'div_by_three'
div_by_three(1).should eq(false)Last updated