Skip to content

Commit

Permalink
[Validator] Stub Fourflusher destination in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Dec 30, 2015
1 parent 9d8a702 commit 10dd1d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/unit/validator_spec.rb
Expand Up @@ -392,6 +392,7 @@ def podspec_path
end

it 'checks if xcodebuild returns a successful status code' do
Fourflusher::SimControl.any_instance.stubs(:destination).returns(['-destination', 'id=XXX'])
Validator.any_instance.unstub(:xcodebuild)
validator = Validator.new(podspec_path, SourcesManager.master.map(&:url))
validator.stubs(:check_file_patterns)
Expand Down

0 comments on commit 10dd1d8

Please sign in to comment.