rspec-mocks version constraint released

This commit is contained in:
erwanlr
2014-01-03 12:30:12 +00:00
parent 2472e5546f
commit 554530dd60
2 changed files with 1 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ class WpVersion < WpItem
#
# @return [ WpVersion ]
def find(target_uri, wp_content_dir, wp_plugins_dir, versions_xml)
methods.grep(/find_from_/).each do |method|
methods.grep(/^find_from_/).each do |method|
if method === :find_from_advanced_fingerprinting
version = send(method, target_uri, wp_content_dir, wp_plugins_dir, versions_xml)