lib/sinatra/test/unit.rb in rtomayko-sinatra-0.9.0 vs lib/sinatra/test/unit.rb in rtomayko-sinatra-0.9.0.2
- old
+ new
@@ -1,11 +1,11 @@
-require 'test/unit'
require 'sinatra/test'
+require 'test/unit'
Test::Unit::TestCase.send :include, Sinatra::Test
Sinatra::Default.set(
- :env => :test,
+ :environment => :test,
:run => false,
:raise_errors => true,
:logging => false
)