Sha256: e89c08522a9e784b2968051848c19086bf5d5e35ba910a37f85cc4a5d24033a0
Contents?: true
Size: 332 Bytes
Versions: 3
Compression:
Stored size: 332 Bytes
Contents
require File.expand_path '../helper', __FILE__ class RecursionTest < Test::Unit::TestCase should "not allow infinite recursion" do hash = {:a => :a} hash[:hash] = hash notice = HydraulicBrake::Notice.new(:parameters => hash) assert_equal "[possible infinite recursion halted]", notice.parameters[:hash] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hydraulic_brake-0.2.0 | test/recursion_test.rb |
hydraulic_brake-0.1.0 | test/recursion_test.rb |
hydraulic_brake-0.0.0 | test/recursion_test.rb |