Commit a6b73781 authored by Marius Rackwitz's avatar Marius Rackwitz

[Spec Helper] Fix fixture_target_definition

Platform argument didn't worked with custom deployment target
parent 43783751
...@@ -116,7 +116,8 @@ def fixture_file_accessor(spec_or_name, platform = Pod::Platform.ios) ...@@ -116,7 +116,8 @@ def fixture_file_accessor(spec_or_name, platform = Pod::Platform.ios)
end end
def fixture_target_definition(name = 'Pods', platform = Pod::Platform.ios) def fixture_target_definition(name = 'Pods', platform = Pod::Platform.ios)
Pod::Podfile::TargetDefinition.new(name, Pod::Podfile.new, 'name' => name, 'platform' => platform) platform_hash = { platform.symbolic_name => platform.deployment_target }
Pod::Podfile::TargetDefinition.new(name, Pod::Podfile.new, 'name' => name, 'platform' => platform_hash)
end end
def fixture_pod_target(spec_or_name, target_definitions = []) def fixture_pod_target(spec_or_name, target_definitions = [])
......
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