Commit 6ac25099 by Jon Yurek

Test to prevent regression of previous commit

parent 2dd5d50d
...@@ -32,7 +32,7 @@ class AbstractAdapterTest < Test::Unit::TestCase ...@@ -32,7 +32,7 @@ class AbstractAdapterTest < Test::Unit::TestCase
@adapter.tempfile = stub("Tempfile") @adapter.tempfile = stub("Tempfile")
end end
[:close, :closed?, :eof?, :path, :rewind, :unlink].each do |method| [:close, :close!, :closed?, :eof?, :path, :rewind, :unlink].each do |method|
should "delegate #{method} to @tempfile" do should "delegate #{method} to @tempfile" do
@adapter.tempfile.stubs(method) @adapter.tempfile.stubs(method)
@adapter.public_send(method) @adapter.public_send(method)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment