Permalink
Browse files

Lets move things forward... (working test runs again)

  • Loading branch information...
1 parent 470fdfd commit 418cb694fdd0c69936c68af91cdc1d454e647956 @raggi raggi committed Sep 8, 2011
Showing with 7 additions and 2 deletions.
  1. +1 −1 Rakefile
  2. +2 −1 rack.gemspec
  3. +4 −0 test/spec_rack_camping.rb
View
@@ -75,7 +75,7 @@ end
desc "Run all the fast tests"
task :test do
- sh "specrb -Ilib:test -w #{ENV['TEST'] || '-a'} #{ENV['TESTOPTS'] || '-t "^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|rackup)"'}"
+ sh "specrb -rtest/gemloader -Ilib:test -w #{ENV['TEST'] || '-a'} #{ENV['TESTOPTS'] || '-t "^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|rackup)"'}"
end
desc "Run all the tests"
View
@@ -33,7 +33,8 @@ EOF
s.add_development_dependency 'test-spec'
- s.add_development_dependency 'camping', '< 1.5'
+ s.add_development_dependency 'activesupport', '< 2'
+ s.add_development_dependency 'camping', '< 1.6'
s.add_development_dependency 'fcgi'
s.add_development_dependency 'memcache-client'
s.add_development_dependency 'mongrel'
@@ -6,6 +6,10 @@
require 'rack/mock'
$-w, w = nil, $-w # yuck
+
+ # campings dependencies also don't pull this in anymore:
+ class Object;def meta_def m,&b;(class<<self;self;end).send:define_method,m,&b end end
+
require 'camping'
require 'rack/adapter/camping'

0 comments on commit 418cb69

Please sign in to comment.