Another Travis-CI possible fix...

This commit is contained in:
ethicalhack3r
2013-08-09 13:45:35 +02:00
parent fa0e4658cb
commit 678184e24b

View File

@@ -167,7 +167,7 @@ describe 'WpVersion::Findable' do
let(:version_xml) {} let(:version_xml) {}
after do after do
stub_request(:get, uri.to_s+'*').to_return(status: 0) stub_request(:get, /#{uri.to_s}.*/).to_return(status: 0)
version = WpVersion.find(uri, wp_content_dir, wp_plugins_dir, version_xml) version = WpVersion.find(uri, wp_content_dir, wp_plugins_dir, version_xml)
version.should == @expected version.should == @expected