Sha256: ac86610d8b022169f2adee961f4431f2bbdcd7dfd8553efce2015b0e71642854
Contents?: true
Size: 413 Bytes
Versions: 3
Compression:
Stored size: 413 Bytes
Contents
require 'test_helper' class ExceptionExtensionTest < ActiveSupport::TestCase class TestError < StandardError end test 'should store binding trace if binding_of_caller is available' do begin test = "Test" raise TestError rescue TestError => e assert e.__web_console_bindings_stack.length > 0 assert e.__web_console_bindings_stack[0].eval("test") == "Test" end end end
Version data entries
3 entries across 3 versions & 1 rubygems