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)
diff = produced_proj.to_tree_hash.recursive_diff(expected_proj.to_tree_hash, "#produced#", "#reference#")
desc = "Project comparison error `#{expected}`"
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
diff.should.satisfy(desc) do |diff|
diff.nil?
......@@ -255,14 +255,10 @@ def file_should_match(expected, produced)
end
end
def create_caches_for_the_pods
end
#-----------------------------------------------------------------------------#
create_caches_for_the_pods
describe "Integration take 2" 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