spec/soap_spec.rb in sinatra-soap-0.1.4 vs spec/soap_spec.rb in sinatra-soap-0.1.5
- old
+ new
@@ -1,21 +1,5 @@
-ENV['RACK_ENV'] = 'test'
-require File.join(File.join(File.expand_path(File.dirname(__FILE__))), '..', 'lib', 'sinatra', 'soap')
-require 'rspec'
-require 'rack/test'
-
-class SoapApp < Sinatra::Base
- register Sinatra::Soap
- soap :test do |params|
- params
- end
-end
-
-module RSpecMixin
- include Rack::Test::Methods
-end
-
-RSpec.configure { |c| c.include RSpecMixin }
+require 'spec_helper'
describe 'A default soap sinatra application' do
def app
SoapApp