PageRenderTime 162ms CodeModel.GetById 80ms app.highlight 2ms RepoModel.GetById 79ms app.codeStats 0ms

/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
 1require 'facets/binding/eval'
 2require 'test/unit'
 3
 4class TC_Binding < Test::Unit::TestCase
 5
 6  def setup
 7    x = "hello"
 8    @bind = binding
 9  end
10
11  def test_eval
12    assert_equal( "hello", @bind.eval("x") )
13  end
14
15end
16