Commit 6f1519f4 authored by Fabio Pelosin's avatar Fabio Pelosin

[Specs Integration] Clean implementation a bit.

parent d8f1c07c
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment