test/test__helper.rb
# We need this in order to make sure any test is faster than a minute. This
# should help spotting tests that hang out sometimes. The number of seconds
# to wait can be increased, but try to make it as little as possible,
# in order to catch problems ealier.
We need this in order to make sure any test is faster than a minute. This
should help spotting tests that hang out sometimes. The number of seconds
to wait can be increased, but try to make it as little as possible,
in order to catch problems ealier.
We need this in order to make sure any test is faster than a minute . This should help spotting tests that hang out sometimes . The number of seconds to wait can be increased but try to make it as little as possible in order to catch problems ealier .
def around
      Timeout.timeout(180) do
        Thread.current.name = 'test'
        super
      end
    end
def around Timeout . timeout ( 180 ) do Thread . current . name = 'test' super end end
We need this in order to make sure any test is faster than a minute.
We need this in order to make sure any test is faster than a minute .