Permalink
Browse files

Define #puts on STDOUT stub for Rubinius.

  • Loading branch information...
1 parent e71ec24 commit fd947de355a1d9f6fb60d53530c80570df5f6abb @oggy committed Jun 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/integration/test_integration.rb
  2. +1 −1 test/unit/db_nazi/test_migration_proxy.rb
@@ -5,7 +5,7 @@
use_temporary_directory "#{ROOT}/test/tmp"
# Migrations use Kernel.puts. Lame.
- out = Class.new { def write(*) end; def flush(*) end }.new
+ out = Class.new { def puts(*); end; def write(*) end; def flush(*) end }.new
use_global_value :stdout, out
before do
@@ -5,7 +5,7 @@
use_temporary_directory "#{ROOT}/test/tmp"
# Migrations use Kernel.puts. Lame.
- out = Class.new { def write(*) end; def flush(*) end }.new
+ out = Class.new { def puts(*); end; def write(*) end; def flush(*) end }.new
use_global_value :stdout, out
before do

0 comments on commit fd947de

Please sign in to comment.