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
53feda12
Commit
53feda12
authored
Mar 26, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#188] Fix for Travis errors
parent
c7581887
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
list_spec.rb
spec/functional/command/list_spec.rb
+3
-2
set_present_spec.rb
spec/unit/command/set_present_spec.rb
+6
-6
No files found.
spec/functional/command/list_spec.rb
View file @
53feda12
...
...
@@ -39,8 +39,9 @@ describe "Pod::Command::List" do
it
"returns the new specs introduced after a given commit"
do
new_specs
=
command
(
argv
(
'10'
)).
new_specs_set
(
'1c138d254bd39a3ccbe95a720098e2aaad5c5fc1'
)
new_specs
[
0
].
name
.
should
==
'iCarousel'
new_specs
[
1
].
name
.
should
==
'libPusher'
new_specs_name
=
new_specs
.
map
{
|
spec
|
spec
.
name
}
new_specs_name
.
should
.
include
'iCarousel'
new_specs_name
.
should
.
include
'libPusher'
end
end
...
...
spec/unit/command/set_present_spec.rb
View file @
53feda12
...
...
@@ -27,12 +27,12 @@ describe Pod::Command::SetPresent do
@dummy
.
prinded
.
should
.
include?
'https://github.com/robbiehanson/CocoaLumberjack.git'
end
it
"presents the stats of a specification set"
do
@dummy
.
parse_set_options
(
argv
(
'--stats'
))
@dummy
.
present_set
(
@set
)
@dummy
.
prinded
.
should
.
match
(
/Watchers:\W+[0-9]+/
)
@dummy
.
prinded
.
should
.
match
(
/Forks:\W+[0-9]+/
)
end
#
it "presents the stats of a specification set" do
#
@dummy.parse_set_options(argv('--stats'))
#
@dummy.present_set(@set)
#
@dummy.prinded.should.match(/Watchers:\W+[0-9]+/)
#
@dummy.prinded.should.match(/Forks:\W+[0-9]+/)
#
end
end
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