[Pod::Command::Spec] refinements

This commit is contained in:
Fabio Pelosin
2012-04-26 22:53:11 +02:00
parent 8e126d17d1
commit 9d40f196b0
2 changed files with 16 additions and 13 deletions

View File

@@ -129,8 +129,9 @@ describe "Pod::Command::Spec lint" do
it "lints a givent podspec" do
spec_file = fixture('spec-repos') + 'master/JSONKit/1.4/JSONKit.podspec'
output = run_command('spec', 'lint', '--quick', spec_file)
output.should.include "passed validation"
cmd = command('spec', 'lint', '--quick', spec_file.to_s)
lambda { cmd.run }.should.raise Pod::Informative
cmd.output.should.include "Missing license[:file] or [:text]"
end
before do