test/unit/interlock_test.rb in interlock-1.3 vs test/unit/interlock_test.rb in interlock-1.4

- old
+ new

@@ -16,6 +16,15 @@ def test_caching_key_strips_whitespace assert_no_match Interlock::ILLEGAL_KEY_CHARACTERS_PATTERN, Interlock.caching_key('controller', 'action', 'id', 'tag with illegal characters') 'generated keys should not contain illegal characters' end + + def disabled_test_register_dependencies_with_many_keys_one_dependency + assert_nothing_raised do + (1..5000).each do |i| + Interlock.register_dependencies({Item=>:id}, Interlock.caching_key("a"*200, "show", i, nil)) + end + end + end + end \ No newline at end of file