Remove parsed expression cache.

This commit is contained in:
Dylan Thacker-Smith
2014-10-18 15:03:40 -04:00
parent bc5e444d04
commit f5faa4858c
2 changed files with 1 additions and 12 deletions
-10
View File
@@ -469,16 +469,6 @@ class ContextUnitTest < Minitest::Test
refute mock_any.has_been_called?
assert mock_empty.has_been_called?
end
def test_variable_lookup_caches_markup
mock_scan = Spy.on_instance_method(String, :scan).and_return(["string"])
@context['string'] = 'string'
@context['string']
@context['string']
assert_equal 1, mock_scan.calls.size
end
def test_context_initialization_with_a_proc_in_environment