Commit 55af10b5 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RepoSpec] Update --count-only spec

parent 0980dca4
...@@ -142,10 +142,11 @@ module Pod ...@@ -142,10 +142,11 @@ module Pod
output.should.include? '- Type:' output.should.include? '- Type:'
end end
it 'lists a repository with count' do it 'only prints a count when invoked with --count-only' do
config.repos_dir = fixture('spec-repos') config.repos_dir = fixture('spec-repos')
output = run_command('repo', 'list', '--count') output = run_command('repo', 'list', '--count-only')
output.should.include? 'repo' output.should.include? 'repo'
output.should.not.include? '- Type:'
end 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