Commit b6353e40 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[IntegrationSpecs] Sanitize paths from other gems source files

parent 26c4c474
......@@ -49,10 +49,10 @@ GIT
GIT
remote: https://github.com/CocoaPods/cocoapods-stats.git
revision: 3618f77cdd6540da21a6d79cf0112cf37b441ddb
revision: 565e91a425fcaa26a797115d6fcdeaaa98b4f478
branch: master
specs:
cocoapods-stats (0.5.0)
cocoapods-stats (0.5.1)
nap (~> 0.8)
GIT
......
......@@ -119,6 +119,12 @@ describe_cli 'pod' do
s.replace_pattern /#{Dir.tmpdir}\/[\w-]+/i, 'TMPDIR'
s.replace_pattern /\d{4}-\d\d-\d\d \d\d:\d\d:\d\d [-+]\d{4}/, '<#DATE#>'
s.replace_pattern /\(Took \d+.\d+ seconds\)/, '(Took <#DURATION#> seconds)'
s.replace_path %r{
`[^`]*? # The opening backtick on a plugin path
([[[:alnum:]]_+-]+) # The plugin name
(- ([[:xdigit:]]+ | #{Gem::Version::VERSION_PATTERN}))? # The version or SHA
/lib/cocoapods_plugin.rb # The actual plugin file that gets loaded
}ix, '`\1/lib/cocoapods_plugin.rb'
end
describe 'Pod install' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment