class EvalHelpersSymbolTaintedMethodTest

Public Instance Methods

setup() click to toggle source
# File test/unit/eval_helpers_test.rb, line 78
def setup
  class << (@object = Object.new)
    def callback
      true
    end
    
    taint
  end
end
test_should_not_raise_security_error() click to toggle source
# File test/unit/eval_helpers_test.rb, line 88
def test_should_not_raise_security_error
  assert_nothing_raised { evaluate_method(@object, :callback, 1, 2, 3) }
end