Commit b9daea44 authored by Fabio Pelosin's avatar Fabio Pelosin

[list-new] Test for curl options in Travis

parent 53feda12
...@@ -27,12 +27,19 @@ describe Pod::Command::SetPresent do ...@@ -27,12 +27,19 @@ describe Pod::Command::SetPresent do
@dummy.prinded.should.include? 'https://github.com/robbiehanson/CocoaLumberjack.git' @dummy.prinded.should.include? 'https://github.com/robbiehanson/CocoaLumberjack.git'
end end
# it "presents the stats of a specification set" do it "presents the stats of a specification set" do
# @dummy.parse_set_options(argv('--stats'))
# @dummy.present_set(@set) puts
# @dummy.prinded.should.match(/Watchers:\W+[0-9]+/) puts "\n\n\n\n============================================================="
# @dummy.prinded.should.match(/Forks:\W+[0-9]+/) puts "TEST FOR CURL"
# end puts `curl -s -m 2 http://github.com/api/v2/json/repos/show/cocoapods/cocoapods`
puts "=============================================================\n\n\n\n"
@dummy.parse_set_options(argv('--stats'))
@dummy.present_set(@set)
@dummy.prinded.should.match(/Watchers:\W+[0-9]+/)
@dummy.prinded.should.match(/Forks:\W+[0-9]+/)
end
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