/vendor/gems/facets-2.4.5/test/core/binding/test_eval.rb
https://bitbucket.org/mediashelf/fedora-migrator · Ruby · 16 lines · 11 code · 5 blank · 0 comment · 0 complexity · c8933894fffdbd0abcb57252734ff669 MD5 · raw file
- require 'facets/binding/eval'
- require 'test/unit'
- class TC_Binding < Test::Unit::TestCase
- def setup
- x = "hello"
- @bind = binding
- end
- def test_eval
- assert_equal( "hello", @bind.eval("x") )
- end
- end