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
a026d3c0
Commit
a026d3c0
authored
Oct 09, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs] Update to match update in master repo submodule
parent
7032861a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
spec_spec.rb
spec/functional/command/spec_spec.rb
+3
-3
user_interface_spec.rb
spec/functional/user_interface_spec.rb
+1
-1
No files found.
spec/functional/command/spec_spec.rb
View file @
a026d3c0
...
@@ -226,13 +226,13 @@ module Pod
...
@@ -226,13 +226,13 @@ module Pod
it
'cats the given podspec'
do
it
'cats the given podspec'
do
lambda
{
command
(
'spec'
,
'cat'
,
'AFNetworking'
).
run
}.
should
.
not
.
raise
lambda
{
command
(
'spec'
,
'cat'
,
'AFNetworking'
).
run
}.
should
.
not
.
raise
UI
.
output
.
should
.
include
fixture
(
'spec-repos/master/Specs/AFNetworking/2.
3
.1/AFNetworking.podspec.json'
).
read
UI
.
output
.
should
.
include
fixture
(
'spec-repos/master/Specs/AFNetworking/2.
4
.1/AFNetworking.podspec.json'
).
read
end
end
it
'cats the first podspec from all podspecs'
do
it
'cats the first podspec from all podspecs'
do
UI
.
next_input
=
"1
\n
"
UI
.
next_input
=
"1
\n
"
run_command
(
'spec'
,
'cat'
,
'--show-all'
,
'AFNetworking'
)
run_command
(
'spec'
,
'cat'
,
'--show-all'
,
'AFNetworking'
)
UI
.
output
.
should
.
include
fixture
(
'spec-repos/master/Specs/AFNetworking/2.
3
.1/AFNetworking.podspec.json'
).
read
UI
.
output
.
should
.
include
fixture
(
'spec-repos/master/Specs/AFNetworking/2.
4
.1/AFNetworking.podspec.json'
).
read
end
end
end
end
...
@@ -292,7 +292,7 @@ module Pod
...
@@ -292,7 +292,7 @@ module Pod
it
'returns the path of the specification with the given name'
do
it
'returns the path of the specification with the given name'
do
path
=
@sut
.
send
(
:get_path_of_spec
,
'AFNetworking'
)
path
=
@sut
.
send
(
:get_path_of_spec
,
'AFNetworking'
)
path
.
should
==
fixture
(
'spec-repos'
)
+
'master/Specs/AFNetworking/2.
3
.1/AFNetworking.podspec.json'
path
.
should
==
fixture
(
'spec-repos'
)
+
'master/Specs/AFNetworking/2.
4
.1/AFNetworking.podspec.json'
end
end
end
end
...
...
spec/functional/user_interface_spec.rb
View file @
a026d3c0
...
@@ -48,7 +48,7 @@ module Pod
...
@@ -48,7 +48,7 @@ module Pod
output
=
UI
.
output
output
=
UI
.
output
output
.
should
.
include?
'Author: Robbie Hanson'
output
.
should
.
include?
'Author: Robbie Hanson'
output
.
should
.
include?
'License: BSD'
output
.
should
.
include?
'License: BSD'
output
.
should
.
include?
'Platform: iOS
- OS X
'
output
.
should
.
include?
'Platform: iOS
5.0 - OS X 10.7
'
output
.
should
.
include?
'Watchers: 318'
output
.
should
.
include?
'Watchers: 318'
output
.
should
.
include?
'Forks: 42'
output
.
should
.
include?
'Forks: 42'
output
.
should
.
include?
'Pushed: more than a year ago'
output
.
should
.
include?
'Pushed: more than a year ago'
...
...
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