Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
@amrdraz, either make all test cases in ruby pass one argument, or specify that 0 arguments may be passed. Anything else is dishonest.
This comment is hidden because it contains spoiler information about the solution
I get the same error. I am passing calling always(3) in my tests an it works. When I click submit I get this error. It is my first kata, first time in this site. I wonder if there is a way to see the tests executed when I click submit.
@rdssdded @amrdaz : No, my code won't run if no arguments are passed to
always
. According to the instructions,always
has one argument. Why does the provided Ruby test case callalways
without an argument?This comment is hidden because it contains spoiler information about the solution
The error is indicating that no arguments are being passed to function
always
. Would your test in IRB still run if there were no arguments passed to functionalways
?thx u2