Commit f6a90181 authored by Samuel Giddins's avatar Samuel Giddins

Update validator specs for frameworks requiring ios 8

parent faab948e
...@@ -139,7 +139,7 @@ module Pod ...@@ -139,7 +139,7 @@ module Pod
end end
it 'validates specs as frameworks by default' do it 'validates specs as frameworks by default' do
Validator.any_instance.expects(:podfile_from_spec).with(:ios, nil, true).times(3) Validator.any_instance.expects(:podfile_from_spec).with(:ios, '8.0', true).times(3)
Validator.any_instance.expects(:podfile_from_spec).with(:osx, nil, true).twice Validator.any_instance.expects(:podfile_from_spec).with(:osx, nil, true).twice
Validator.any_instance.expects(:podfile_from_spec).with(:watchos, nil, true).twice Validator.any_instance.expects(:podfile_from_spec).with(:watchos, nil, true).twice
Validator.any_instance.expects(:podfile_from_spec).with(:tvos, nil, true).twice Validator.any_instance.expects(:podfile_from_spec).with(:tvos, nil, true).twice
......
...@@ -690,7 +690,7 @@ module Pod ...@@ -690,7 +690,7 @@ module Pod
setup_validator setup_validator
@validator.expects(:podfile_from_spec).with(:osx, nil, true).once @validator.expects(:podfile_from_spec).with(:osx, nil, true).once
@validator.expects(:podfile_from_spec).with(:ios, nil, true).once @validator.expects(:podfile_from_spec).with(:ios, '8.0', true).once
@validator.expects(:podfile_from_spec).with(:tvos, nil, true).once @validator.expects(:podfile_from_spec).with(:tvos, nil, true).once
@validator.expects(:podfile_from_spec).with(:watchos, nil, true).once @validator.expects(:podfile_from_spec).with(:watchos, nil, true).once
@validator.send(:perform_extensive_analysis, @validator.spec) @validator.send(:perform_extensive_analysis, @validator.spec)
......
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