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
59104c81
Commit
59104c81
authored
May 16, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs] Minor cosmetic fixes.
parent
cb2942f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
integration_spec.rb
spec/integration_spec.rb
+4
-9
bacon.rb
spec/spec_helper/bacon.rb
+2
-2
No files found.
spec/integration_spec.rb
View file @
59104c81
...
...
@@ -25,6 +25,7 @@ else
describe
"A full (integration spec) installation for platform `
#{
platform
}
'"
do
extend
SpecHelper
::
TemporaryDirectory
def
create_config!
Pod
::
Config
.
instance
=
nil
if
ENV
[
'VERBOSE_SPECS'
]
...
...
@@ -50,22 +51,16 @@ else
Pod
::
Config
.
instance
=
@config_before
end
# This is so we can run at least the specs that don't use xcodebuild on Travis.
def
with_xcodebuild_available
unless
`which xcodebuild`
.
strip
.
empty?
yield
else
puts
"
\n
[!] Skipping xcodebuild, because it can't be found."
end
end
def
should_successfully_perform
(
command
)
output
=
`
#{
command
}
2>&1`
puts
output
unless
$?
.
success?
$?
.
should
.
be
.
success
end
puts
" ! "
.
red
<<
"Skipping xcodebuild based checks, because it can't be found."
if
`which xcodebuild`
.
strip
.
empty?
def
should_xcodebuild
(
target_definition
)
return
if
`which xcodebuilda`
.
strip
.
empty?
target
=
target_definition
with_xcodebuild_available
do
Dir
.
chdir
(
config
.
project_pods_root
)
do
...
...
spec/spec_helper/bacon.rb
View file @
59104c81
...
...
@@ -62,9 +62,9 @@ module Bacon
class
Context
def
xit
(
description
,
*
args
)
Bacon
.
handle_requirement
(
description
,
true
)
{[]}
title
=
"
\e
[33m
-
> Disabled Specificiations
\e
[0m"
title
=
"
\e
[33m> Disabled Specificiations
\e
[0m"
ErrorLog
.
insert
(
0
,
"
#{
title
}
\n
"
)
unless
ErrorLog
.
include?
(
title
)
ErrorLog
.
insert
(
title
.
length
,
"
\n
-
#{
self
.
name
}
#{
description
}
"
)
ErrorLog
.
insert
(
title
.
length
,
"
\n
-
#{
self
.
name
}
#{
description
}
"
)
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