diff --git a/spec/lib/common/models/wp_version/findable_spec.rb b/spec/lib/common/models/wp_version/findable_spec.rb index d73e6d39..994ff744 100644 --- a/spec/lib/common/models/wp_version/findable_spec.rb +++ b/spec/lib/common/models/wp_version/findable_spec.rb @@ -167,7 +167,7 @@ describe 'WpVersion::Findable' do let(:version_xml) {} 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.should == @expected