diff --git a/spec/request_pattern_spec.rb b/spec/request_pattern_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/request_pattern_spec.rb
+++ b/spec/request_pattern_spec.rb
@@ -32,7 +32,7 @@ describe RequestPattern do
   end
 
 
-  class RequestPattern
+  class WebMock::RequestPattern
     def match(request_signature)
       self.matches?(request_signature)
     end
Fixed RequestPattern spec to work with Ruby <I>