minor grammar nit
authorErik Ogan <erik@ogan.net>
Sun, 19 Sep 2010 23:52:26 +0000 (16:52 -0700)
committerErik Ogan <erik@ogan.net>
Sun, 19 Sep 2010 23:53:17 +0000 (16:53 -0700)
koans/about_blocks.rb
src/about_blocks.rb

index 1bd2d13..0abee8f 100644 (file)
@@ -60,7 +60,7 @@ class AboutBlocks < EdgeCase::Koan
 
   # ------------------------------------------------------------------
 
-  def test_block_can_effect_variables_in_the_code_where_they_are_created
+  def test_block_can_affect_variables_in_the_code_where_they_are_created
     value = :initial_value
     method_with_block { value = :modified_in_a_block }
     assert_equal __, value
index 7330ca0..7fefcd9 100644 (file)
@@ -60,7 +60,7 @@ class AboutBlocks < EdgeCase::Koan
 
   # ------------------------------------------------------------------
 
-  def test_block_can_effect_variables_in_the_code_where_they_are_created
+  def test_block_can_affect_variables_in_the_code_where_they_are_created
     value = :initial_value
     method_with_block { value = :modified_in_a_block }
     assert_equal __(:modified_in_a_block), value