Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
7ae5b65e
Commit
7ae5b65e
authored
Apr 10, 2014
by
clarkda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't allow `pod lib create` to create a pod that begins with a period
parent
4212cbec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lib_spec.rb
spec/functional/command/lib_spec.rb
+4
-0
No files found.
spec/functional/command/lib_spec.rb
View file @
7ae5b65e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment