Skip to content
Browse files

Fixed test order

  • Loading branch information...
1 parent a84d026 commit 5ea61ae2cbedc1fa659089e8b651afd92a8c0b18 @drbrain committed Feb 8, 2013
Showing with 10 additions and 10 deletions.
  1. +10 −10 test/test_net_http_persistent.rb
View
20 test/test_net_http_persistent.rb
@@ -217,16 +217,6 @@ def test_ca_file_equals
assert_equal 1, @http.ssl_generation
end
- def test_can_retry_eh_idempotent
- head = Net::HTTP::Head.new '/'
-
- assert @http.can_retry? head
-
- post = Net::HTTP::Post.new '/'
-
- refute @http.can_retry? post
- end
-
def test_can_retry_eh_change_requests
post = Net::HTTP::Post.new '/'
@@ -237,6 +227,16 @@ def test_can_retry_eh_change_requests
assert @http.can_retry? post
end
+ def test_can_retry_eh_idempotent
+ head = Net::HTTP::Head.new '/'
+
+ assert @http.can_retry? head
+
+ post = Net::HTTP::Post.new '/'
+
+ refute @http.can_retry? post
+ end
+
def test_cert_store_equals
@http.cert_store = :cert_store

0 comments on commit 5ea61ae

Please sign in to comment.
Something went wrong with that request. Please try again.