22 lines
299 B
Ruby
22 lines
299 B
Ruby
covers "facets/binding/block_exec"
|
|
|
|
testcase Binding do
|
|
|
|
# TODO: How do we test this?
|
|
|
|
method :block_exec do
|
|
|
|
#setup do
|
|
# c = Class.new
|
|
# $block_exec_binding = binding
|
|
#end
|
|
|
|
#test do
|
|
# q = $block_exec_binding.block_exec { x }
|
|
# q.assert == 5
|
|
#end
|
|
|
|
end
|
|
|
|
end
|