Sha256: c54d75fbc53bbfbc012114b51a5fb161a45fbd8b8bbec94ec2118ab7e89682ab
Contents?: true
Size: 752 Bytes
Versions: 2
Compression:
Stored size: 752 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) module Pod describe Command::Browse do describe "CLAide" do it "registers it self" do Command.parse(%w{ browse }).should.be.instance_of Command::Browse end it "presents the help if no name is provided" do command = Pod::Command.parse(['browse']) should.raise CLAide::Help do command.validate! end.message.should.match /A Pod name is required/ end it "runs" do Config.instance.skip_repo_update = false command = Pod::Command.parse(['browse', 'iOS-FakeWeb']) # command.expects(:update_specs_repos) command.expects(:spec_with_name) command.run end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-browser-0.1.1 | spec/command/browse_spec.rb |
cocoapods-browser-0.1.0 | spec/command/browse_spec.rb |