Attempted Travis-CI fix.

This commit is contained in:
ethicalhack3r
2013-08-09 13:26:39 +02:00
parent 3870fc0b2c
commit 7951e442a8

View File

@@ -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