Commit 61ea9fc0 authored by clarkda's avatar clarkda

Don't allow [!] A name for the Pod is required.

Usage:

    $ pod lib create NAME [TEMPLATE_URL]

      Creates a scaffold for the development of a new Pod according to the CocoaPods best practices.
      If a `TEMPLATE_URL`, pointing to a git repo containing a compatible template, is specified, it will be used in place of the default one.

Options:

    --silent    Show nothing
    --version   Show the version of CocoaPods
    --verbose   Show more debugging information
    --help      Show help banner of specified command to create a pod that begins with a period
parent a6515d63
......@@ -16,6 +16,10 @@ module Pod
lambda { run_command('lib', 'create', 'Pod Name With Spaces') }.should.raise CLAide::Help
end
it "complains if pod name begins with a period" do
lambda { run_command('lib', 'create', '.HiddenPod') }.should.raise CLAide::Help
end
it "should create a new dir for the newly created pod" do
@sut.any_instance.stubs(:configure_template)
url = @sut::TEMPLATE_REPO
......
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