Skip to content

Commit

Permalink
Adding missing assert in iteration test.
Browse files Browse the repository at this point in the history
Also checking against symbol rather than string.
  • Loading branch information
kytrinyx committed May 16, 2011
1 parent b27f1a7 commit 6c8fe05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koans/about_iteration.rb
Expand Up @@ -3,7 +3,7 @@
class AboutIteration < EdgeCase::Koan

def test_each_is_a_method_on_arrays
[].methods.include?("each")
assert_equal __, [].methods.include?(:each)
end

def test_iterating_with_each
Expand Down

0 comments on commit 6c8fe05

Please sign in to comment.