From 7951e442a8e34b82e38a1472a61e3b0a0004edc6 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 9 Aug 2013 13:26:39 +0200 Subject: [PATCH] Attempted Travis-CI fix. --- spec/lib/common/models/wp_version/findable_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/lib/common/models/wp_version/findable_spec.rb b/spec/lib/common/models/wp_version/findable_spec.rb index 35395f76..73c2927f 100644 --- a/spec/lib/common/models/wp_version/findable_spec.rb +++ b/spec/lib/common/models/wp_version/findable_spec.rb @@ -167,6 +167,8 @@ describe 'WpVersion::Findable' do let(:version_xml) {} after do + stub_request(:get, uri.to_s).to_return(status: 0) + version = WpVersion.find(uri, wp_content_dir, wp_plugins_dir, version_xml) version.should == @expected if @expected