Permalink
Browse files

Fix race conditions in tests, change travis rbx name

  • Loading branch information...
1 parent d255f97 commit c62f18f33e3ab7f7a38425b03556f909d93033f8 @evanphx evanphx committed Nov 23, 2011
Showing with 7 additions and 1 deletion.
  1. +1 −1 .travis.yml
  2. +6 −0 test/test_rack_server.rb
View
@@ -1,5 +1,5 @@
rvm:
- 1.8.7
- 1.9.3
- - rbx-2.0
+ - rbx
- jruby
@@ -68,6 +68,8 @@ def test_lint
hit(['http://localhost:9998/test'])
+ stop
+
if exc = @checker.exception
raise exc
end
@@ -80,6 +82,8 @@ def test_path_info
hit(['http://localhost:9998/test/a/b/c'])
+ stop
+
assert_equal "/test/a/b/c", input['PATH_INFO']
end
@@ -95,6 +99,8 @@ def test_after_reply
hit(['http://localhost:9998/test'])
+ stop
+
assert_equal true, closed
end

0 comments on commit c62f18f

Please sign in to comment.