lib/spec/rails/spec_server.rb in cavalle-rspec-rails-1.2.2.0.2 vs lib/spec/rails/spec_server.rb in cavalle-rspec-rails-1.2.3.1

- old
+ new

@@ -100,14 +100,10 @@ $stderr, $stdout ) ) - if ::ActionController::Dispatcher.respond_to?(:cleanup_application) - ::ActionController::Dispatcher.cleanup_application - else - dispatcher.cleanup_application - end + dispatcher.cleanup_application if dispatcher.respond_to?(:cleanup_application) end def in_memory_database? ENV["RAILS_ENV"] == "test" and ::ActiveRecord::Base.connection.class.to_s == "ActiveRecord::ConnectionAdapters::SQLite3Adapter" and