Roman2K/rails-test-serving — Issue #5: Ruby 1.9.3 compat?
Author: stepchud
Created: 2011-12-14 00:00:07+00:00
State: open

Any plan to get this compatible with 1.9.3? After (finally) getting the server to run, I have the following error:

undefined method `run=' for Test::Unit:Module
/usr/local/rvm/gems/ruby-1.9.3-p0/gems/Roman2K-rails-test-serving-0.1.4.1/lib/rails_test_serving/client.rb:20:in `tests_on_exit='

This is because Test:Unit no longer has run= method which existed in ruby 1.8. I commented out that line and hit another snag:

undefined method `reload_application' for #
(drbunix:tmp/sockets/test_server.sock) /usr/local/rvm/gems/ruby-1.9.3-p0/gems/Roman2K-rails-test-serving-0.1.4.1/lib/rails_test_serving/cleaner.rb:76:in `reload_app'

I tried to work through these issues but eventually gave up. Any advice would be great, it currently takes a horrendous 2m30s just to load my test environment to the point where the tests actually start running.