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
8bd9839a
Commit
8bd9839a
authored
Dec 05, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SpecHelper] Consolidate pre-flight setup code
parent
c887edd4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
spec_helper.rb
spec/spec_helper.rb
+0
-10
pre_flight.rb
spec/spec_helper/pre_flight.rb
+2
-0
No files found.
spec/spec_helper.rb
View file @
8bd9839a
...
@@ -84,16 +84,6 @@ module Bacon
...
@@ -84,16 +84,6 @@ module Bacon
include
SpecHelper
::
Fixture
include
SpecHelper
::
Fixture
include
SpecHelper
::
Command
include
SpecHelper
::
Command
alias_method
:original_initialize
,
:initialize
def
initialize
(
name
,
&
block
)
original_initialize
(
name
,
&
block
)
before
do
Pod
::
UI
.
output
=
''
Pod
::
UI
.
warnings
=
''
Pod
::
UI
.
next_input
=
''
end
end
def
skip_xcodebuild?
def
skip_xcodebuild?
ENV
[
'SKIP_XCODEBUILD'
]
ENV
[
'SKIP_XCODEBUILD'
]
end
end
...
...
spec/spec_helper/pre_flight.rb
View file @
8bd9839a
...
@@ -15,6 +15,8 @@ module Bacon
...
@@ -15,6 +15,8 @@ module Bacon
end
end
::
Pod
::
UI
.
output
=
''
::
Pod
::
UI
.
output
=
''
::
Pod
::
UI
.
warnings
=
''
::
Pod
::
UI
.
next_input
=
''
# The following prevents a nasty behaviour where the increments are not
# The following prevents a nasty behaviour where the increments are not
# balanced when testing informative which might lead to sections not
# balanced when testing informative which might lead to sections not
# being printed to the output as they are too nested.
# being printed to the output as they are too nested.
...
...
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