spec/spec_helper.rb in sinatra-errorcodes-0.1.0 vs spec/spec_helper.rb in sinatra-errorcodes-0.1.1
- old
+ new
@@ -1,2 +1,15 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
+
+require 'rspec'
+require 'rack/test'
require 'sinatra/errorcodes'
+
+require_relative '../example/app.rb'
+
+RSpec.configure do |config|
+ include Rack::Test::Methods
+
+ def app()
+ Application.new
+ end
+end