Forkthe GitHub repository.git add,git commitandgit pushdirectly on your repository as much you want.- Open an
Pull request, you must get a green light on the Travis CI server to validate the exercise!
- print
"fizz"if the integer is a multiple of3(and not a multiple of5) - print
"buzz"if the integer is a multiple of5(and not a multiple of3) - print
"fizzbuzz"if the integer is a multiple of3and5 - print the
numberif the integer is not a multiple of3or5
2.fizzbuzz => 2
5.fizzbuzz => "buzz"
6.fizzbuzz => "fizz"
11.fizzbuzz => 11
30.fizzbuzz => "fizzbuzz"May the force be with you 👾 !
Look at: http://rspec.info/ (T.D.D.)