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
0318141b
Commit
0318141b
authored
Nov 18, 2011
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec suite after changing to read-only submodules.
parent
14d94c0f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
17 deletions
+2
-17
command_spec.rb
spec/functional/command_spec.rb
+2
-0
spec_helper.rb
spec/spec_helper.rb
+0
-1
log.rb
spec/spec_helper/log.rb
+0
-16
No files found.
spec/functional/command_spec.rb
View file @
0318141b
...
@@ -28,6 +28,7 @@ describe "Pod::Command" do
...
@@ -28,6 +28,7 @@ describe "Pod::Command" do
it
"updates a spec-repo"
do
it
"updates a spec-repo"
do
repo1
=
add_repo
(
'repo1'
,
fixture
(
'spec-repos/master'
))
repo1
=
add_repo
(
'repo1'
,
fixture
(
'spec-repos/master'
))
git
(
'repo1'
,
'checkout master'
)
# checkout master, because the fixture is a submodule
repo2
=
add_repo
(
'repo2'
,
repo1
.
dir
)
repo2
=
add_repo
(
'repo2'
,
repo1
.
dir
)
make_change
(
repo1
,
'repo1'
)
make_change
(
repo1
,
'repo1'
)
command
(
'repo'
,
'update'
,
'repo2'
)
command
(
'repo'
,
'update'
,
'repo2'
)
...
@@ -36,6 +37,7 @@ describe "Pod::Command" do
...
@@ -36,6 +37,7 @@ describe "Pod::Command" do
it
"updates all the spec-repos"
do
it
"updates all the spec-repos"
do
repo1
=
add_repo
(
'repo1'
,
fixture
(
'spec-repos/master'
))
repo1
=
add_repo
(
'repo1'
,
fixture
(
'spec-repos/master'
))
git
(
'repo1'
,
'checkout master'
)
# checkout master, because the fixture is a submodule
repo2
=
add_repo
(
'repo2'
,
repo1
.
dir
)
repo2
=
add_repo
(
'repo2'
,
repo1
.
dir
)
repo3
=
add_repo
(
'repo3'
,
repo1
.
dir
)
repo3
=
add_repo
(
'repo3'
,
repo1
.
dir
)
make_change
(
repo1
,
'repo1'
)
make_change
(
repo1
,
'repo1'
)
...
...
spec/spec_helper.rb
View file @
0318141b
...
@@ -11,7 +11,6 @@ require 'cocoapods'
...
@@ -11,7 +11,6 @@ require 'cocoapods'
$:
.
unshift
((
ROOT
+
'spec'
).
to_s
)
$:
.
unshift
((
ROOT
+
'spec'
).
to_s
)
require
'spec_helper/fixture'
require
'spec_helper/fixture'
require
'spec_helper/git'
require
'spec_helper/git'
require
'spec_helper/log'
require
'spec_helper/temporary_directory'
require
'spec_helper/temporary_directory'
context_class
=
defined?
(
BaconContext
)
?
BaconContext
:
Bacon
::
Context
context_class
=
defined?
(
BaconContext
)
?
BaconContext
:
Bacon
::
Context
...
...
spec/spec_helper/log.rb
deleted
100644 → 0
View file @
14d94c0f
module
SpecHelper
module
Log
def
log!
puts
logger
=
Object
.
new
def
logger
.
debug
(
msg
);
puts
msg
;
end
Executioner
.
logger
=
logger
end
def
self
.
extended
(
context
)
context
.
after
do
Executioner
.
logger
=
nil
end
end
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