From 6c8fe055076bae93c451daef73e60248396f9c6c Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Mon, 16 May 2011 23:48:53 +0200 Subject: [PATCH] Adding missing assert in iteration test. Also checking against symbol rather than string. --- koans/about_iteration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koans/about_iteration.rb b/koans/about_iteration.rb index 5c5a2b0..b48c278 100644 --- 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 -- 1.8.0.2