Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsey-ferguson committed Jul 16, 2022
1 parent 6054722 commit b92fba9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/collate_xcresults_spec.rb
Expand Up @@ -19,6 +19,9 @@ module Fastlane::Actions
before(:each) do
allow(File).to receive(:exist?).and_call_original
allow(Dir).to receive(:exist?).with(%r{path/to/fake(1|2|3)?\.xcresult}).and_return(true)
mock_tests_from_xcresult = OpenStruct.new
allow(mock_tests_from_xcresult).to receive(:tests_from_xcresult)
allow(Fastlane::Actions::CollateXcresultsAction).to receive(:other_action).and_return(mock_tests_from_xcresult)
end

it "returns nil when Xcode 10 or earlier" do
Expand Down

0 comments on commit b92fba9

Please sign in to comment.