add test for RM-193

This commit is contained in:
Watson
2014-01-19 14:50:36 +09:00
parent eba8ca8c06
commit b226e23dc0

View File

@@ -312,3 +312,10 @@ describe "Kernel.#block_given?" do
first_block.should == true
end
end
# RM-193
describe "Method#to_proc" do
it "should return lambda block" do
method(:test_block_dvars_proc).to_proc.lambda?.should == true
end
end