git://git.eng.unimelb.edu.au
/
ruby_koans.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
88ef49e
)
Merge pull request #42 from kowen/master
author
Matt Darby
<matt@protectedmethod.com>
Thu, 2 Jun 2011 22:06:58 +0000
(15:06 -0700)
committer
Matt Darby
<matt@protectedmethod.com>
Thu, 2 Jun 2011 22:06:58 +0000
(15:06 -0700)
Adding missing assert in iteration test.
koans/about_iteration.rb
patch
|
blob
|
history
diff --git
a/koans/about_iteration.rb
b/koans/about_iteration.rb
index
5c5a2b0
..
b48c278
100644
(file)
--- a/
koans/about_iteration.rb
+++ b/
koans/about_iteration.rb
@@
-3,7
+3,7
@@
require File.expand_path(File.dirname(__FILE__) + '/edgecase')
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