Permalink
Browse files

Add module level scope operator to ensure the openssl mock has

the proper scope in 1.9.x environments.
  • Loading branch information...
gmallard committed Jan 26, 2010
1 parent e269a9f commit d9354be05072cd62847c617ea60cf5133691250f
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/connection_spec.rb
View
@@ -175,8 +175,8 @@ def _receive( s )
describe "when using ssl" do
- # Mocking openssl gem, so we can test without requiring openssl
- module OpenSSL
+ # Mocking ruby's openssl extension, so we can test without requiring openssl
+ module ::OpenSSL
module SSL
VERIFY_NONE = 0

0 comments on commit d9354be

Please sign in to comment.