spec/spec_helper.rb in riak-sessions-0.8.0 vs spec/spec_helper.rb in riak-sessions-0.8.1

- old
+ new

@@ -17,13 +17,15 @@ require 'rubygems' # Use the gems path only for the spec suite require 'riak' %w{rails action_pack action_dispatch action_controller action_view}.each {|f| require f } require 'riak-sessions' -require 'rspec/rails' -require 'rspec/autorun' +require 'rspec' Dir[File.join(File.dirname(__FILE__), "support", "*.rb")].each {|f| require f } Rspec.configure do |config| config.mock_with :rspec + config.after(:each) do + $test_server.recycle if $test_server + end end