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
6f1519f4
Commit
6f1519f4
authored
Feb 12, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs Integration] Clean implementation a bit.
parent
d8f1c07c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
integration_2_spec.rb
spec/integration_2_spec.rb
+1
-5
No files found.
spec/integration_2_spec.rb
View file @
6f1519f4
...
@@ -220,7 +220,7 @@ def xcodeproj_should_match(expected, produced)
...
@@ -220,7 +220,7 @@ def xcodeproj_should_match(expected, produced)
diff
=
produced_proj
.
to_tree_hash
.
recursive_diff
(
expected_proj
.
to_tree_hash
,
"#produced#"
,
"#reference#"
)
diff
=
produced_proj
.
to_tree_hash
.
recursive_diff
(
expected_proj
.
to_tree_hash
,
"#produced#"
,
"#reference#"
)
desc
=
"Project comparison error `
#{
expected
}
`"
desc
=
"Project comparison error `
#{
expected
}
`"
if
diff
if
diff
desc
<<
"
\n
#{
diff
.
to_yaml
.
gsub
(
'"#produced#"'
,
'produced'
.
red
).
gsub
(
'"#reference#"'
,
'reference'
.
yellow
)
}
"
desc
<<
"
\n
\n
#{
diff
.
inspect
.
cyan
}
\n\n
#{
diff
.
to_yaml
.
gsub
(
'"#produced#"'
,
'produced'
.
cyan
).
gsub
(
'"#reference#"'
,
'reference'
.
magenta
)
}
"
end
end
diff
.
should
.
satisfy
(
desc
)
do
|
diff
|
diff
.
should
.
satisfy
(
desc
)
do
|
diff
|
diff
.
nil?
diff
.
nil?
...
@@ -255,14 +255,10 @@ def file_should_match(expected, produced)
...
@@ -255,14 +255,10 @@ def file_should_match(expected, produced)
end
end
end
end
def
create_caches_for_the_pods
end
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
create_caches_for_the_pods
describe
"Integration take 2"
do
describe
"Integration take 2"
do
describe
"Pod install"
do
describe
"Pod install"
do
...
...
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