Skip to content

Commit

Permalink
Fix mocha puking all over itself under 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed May 18, 2009
1 parent bd11d9c commit c4843a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compat/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Sinatra::Test

class Test::Unit::TestCase
include Sinatra::Test

PASSTHROUGH_EXCEPTIONS = [] unless const_defined?(:PASSTHROUGH_EXCEPTIONS)

def setup
@app = lambda { |env| Sinatra::Application.call(env) }
end
Expand Down

0 comments on commit c4843a0

Please sign in to comment.