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
08254fbe
Commit
08254fbe
authored
Apr 21, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs] Minor check for Pod::Command::Search arguments
parent
a5d6e9af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
search_spec.rb
spec/functional/command/search_spec.rb
+1
-0
No files found.
spec/functional/command/search_spec.rb
View file @
08254fbe
...
@@ -19,6 +19,7 @@ describe "Pod::Command::Search" do
...
@@ -19,6 +19,7 @@ describe "Pod::Command::Search" do
end
end
it
"complains for wrong parameters"
do
it
"complains for wrong parameters"
do
lambda
{
run_command
(
'search'
)
}.
should
.
raise
Pod
::
Command
::
Help
lambda
{
run_command
(
'search'
,
'too'
,
'many'
)
}.
should
.
raise
Pod
::
Command
::
Help
lambda
{
run_command
(
'search'
,
'too'
,
'many'
)
}.
should
.
raise
Pod
::
Command
::
Help
lambda
{
run_command
(
'search'
,
'too'
,
'--wrong'
)
}.
should
.
raise
Pod
::
Command
::
Help
lambda
{
run_command
(
'search'
,
'too'
,
'--wrong'
)
}.
should
.
raise
Pod
::
Command
::
Help
lambda
{
run_command
(
'search'
,
'--wrong'
)
}.
should
.
raise
Pod
::
Command
::
Help
lambda
{
run_command
(
'search'
,
'--wrong'
)
}.
should
.
raise
Pod
::
Command
::
Help
...
...
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