Sha256: 196777e0b5f79f2d94fd090b5afdaf97dca3de1060781641d6b42d2ebcb09dc5

Contents?: true

Size: 326 Bytes

Versions: 35

Compression:

Stored size: 326 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 = Airbrake::Notice.new(:parameters => hash)
    assert_equal "[possible infinite recursion halted]", notice.parameters[:hash]
  end
end

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
airbrakeV4rails5-4.3.8 test/recursion_test.rb
airbrake-4.3.8 test/recursion_test.rb
airbrake-4.3.7 test/recursion_test.rb
airbrake-4.3.6 test/recursion_test.rb
airbrake-4.3.5 test/recursion_test.rb
airbrake-4.3.4 test/recursion_test.rb
airbrake-4.3.3 test/recursion_test.rb
airbrake-4.3.2 test/recursion_test.rb
airbrake-4.3.1 test/recursion_test.rb
airbrake-4.3.0 test/recursion_test.rb
airbrake-4.2.1 test/recursion_test.rb
airbrake-4.2.0 test/recursion_test.rb
airbrake-4.1.0 test/recursion_test.rb
airbrake-4.0.0 test/recursion_test.rb
airbrake-3.2.1 test/recursion_test.rb
airbrake-3.2.0 test/recursion_test.rb
airbrake-3.1.17 test/recursion_test.rb
airbrake-3.1.16 test/recursion_test.rb
airbrake-3.1.15 test/recursion_test.rb
airbrake-3.1.14 test/recursion_test.rb