Commit 2ba9c820 authored by Marius Rackwitz's avatar Marius Rackwitz

[Spec] Re-add disabled remote lint unit spec as integration spec

parent c46f5349
......@@ -214,15 +214,6 @@ module Pod
end
end
# @todo VCR is required in CocoaPods only for this test.
xit 'lints a remote podspec' do
Dir.chdir(fixture('spec-repos') + 'master/Specs/JSONKit/1.4/') do
cmd = command('spec', 'lint', '--quick', '--allow-warnings', '--silent', 'https://github.com/CocoaPods/Specs/raw/master/A2DynamicDelegate/2.0.1/A2DynamicDelegate.podspec')
# VCR.use_cassette('linter', :record => :new_episodes) { }
lambda { cmd.run }.should.not.raise
end
end
before do
text = (fixture('spec-repos') + 'master/Specs/JSONKit/1.4/JSONKit.podspec.json').read
text.gsub!(/.*license.*/, '"license": { "file": "LICENSE" },')
......
......@@ -317,6 +317,12 @@ describe_cli 'pod' do
behaves_like cli_spec 'spec_lint',
'spec lint --quick'
end
describe 'Lints a remote Pod' do
spec_url = 'https://github.com/CocoaPods/Specs/raw/master/Specs/A2DynamicDelegate/2.0.2/A2DynamicDelegate.podspec.json'
behaves_like cli_spec 'spec_lint_remote',
"spec lint --quick --allow-warnings --silent #{spec_url}"
end
end
#--------------------------------------#
......
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