public
Rubygem
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git
fixed define method call for ruby 1.9
tsaleh (author)
Thu Jun 26 12:58:07 -0700 2008
commit  be2df7d3c3c4da3ee4efae74310ec564bfb1cef3
tree    63b8945704ad6b7c7b284eb466b1ebf4f15eea91
parent  55c6f4db4a730ea512dcf59064c5ae8b265a8b7b
...
185
186
187
188
 
189
190
191
...
185
186
187
 
188
189
190
191
0
@@ -185,7 +185,7 @@ module Thoughtbot
0
         end
0
         
0
         context = self
0
- test_unit_class.send(:define_method, test_name) do |*args|
0
+ test_unit_class.send(:define_method, test_name) do
0
           begin
0
             context.run_all_setup_blocks(self)
0
             should[:block].bind(self).call

Comments

    No one has commented yet.