lib/sinatra/test/rspec.rb in bmizerany-sinatra-0.9.0.2 vs lib/sinatra/test/rspec.rb in bmizerany-sinatra-0.9.0.4
- old
+ new
@@ -1,9 +1,11 @@
require 'sinatra/test'
+require 'sinatra/test/unit'
+require 'spec'
require 'spec/interop/test'
Sinatra::Default.set(
- :env => :test,
+ :environment => :test,
:run => false,
:raise_errors => true,
:logging => false
)