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.
This is not a valid solution at all. Just execute domainName('http://mysitewww.com'). Using this solution, you will get 'mysitecom' which is absolutely incorrect. My domain is 'mysitewww'. Where is the downvote button?
sometimes there is www1 , www2 ... but other than that , the code is good and elegant
Should be solved now.
Hopefully codewars will fix
compare_with
test helper. Right now all katas using it are affected.http://stackoverflow.com/questions/24081843/expected-true-to-respond-to-true
I'm having this issue also. Fails on "Should return the expected results", but is also showing me the expected and actual results as the same four records in the same sort order?
Time: 1317ms Passed: 4 Failed: 1
Test Results:
Results: Actual Results: Expected
title
Antitrust Tomatoes
Clones Pinocchio
Oz Liaisons
Siege Madre
Query Tests
"title" column
should be included within results (1 Passed, 0 Failed)
should be a String value (1 Passed, 0 Failed)
Rows
should have 4 rows (1 Passed, 0 Failed)
should be sorted alphabetically (1 Passed, 0 Failed)
should should return the expected results
✘ expected true to respond to
true?
or perhaps you meantbe true
orbe_truthy
Any idea what's going on?
Cheers
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks for your feedback. Can you post the exact output that you get?
This kata is using a built-in
compare_with
helper and checks for the correct sorting order.I got the right ans but for the last test case I got the following message.
expected true to respond to
true?
or perhaps you meantbe true
orbe_truthy
Can anyone help?
I love it.