it "should fail" do temp_file = "marshal.rubinius.tmp.#{Process.pid}" File.new(temp_file, "w").close begin lambda { true }.should == false ensure file.close rescue nil # 'file' is not a defined variable. end end