spec/process_meta_spec.rb in knjrbfw-0.0.27 vs spec/process_meta_spec.rb in knjrbfw-0.0.28
- old
+ new
@@ -119,10 +119,10 @@
end
it "should be able to do slow block-results in JRuby." do
$process_meta.str_eval("
class Kaspertest
- def kaspertest
+ def self.kaspertest
8.upto(12) do |i|
yield(i)
sleep 0.5
end
end
\ No newline at end of file