Permalink
Browse files

fix excon adapter version

  • Loading branch information...
1 parent c31a3c0 commit e3671a7552ffaa1962b70256a8e6b5ea04222261 @robertomiranda committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/webmock/http_lib_adapters/excon_adapter.rb
View
2 lib/webmock/http_lib_adapters/excon_adapter.rb
@@ -5,7 +5,7 @@
end
if defined?(Excon)
- WebMock::VersionChecker.new('Excon', Excon::VERSION, '0.9.6').check_version!
+ WebMock::VersionChecker.new('Excon', Gem.loaded_specs["excon"].version.to_s, '0.9.6').check_version!
module WebMock
module HttpLibAdapters

0 comments on commit e3671a7

Please sign in to comment.