Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Nov 1, 2022
1 parent 9aca189 commit c335335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastlane/spec/actions_specs/xcodes_spec.rb
Expand Up @@ -30,15 +30,15 @@

it "doesn't invoke update command when false" do
expect(Fastlane::Actions).to receive(:sh).with("#{xcodes_binary_path} install '14' --select")
expect(Fastlane::Actions).to_not receive(:sh).with(/--update/)
expect(Fastlane::Actions).to_not(receive(:sh).with(/--update/))
Fastlane::FastFile.new.parse("lane :test do
xcodes(version: '14', update_list: false)
end").runner.execute(:test)
end
end

it "doesn't invoke 'update' nor 'install' when select_for_current_build_only argument is true" do
expect(Fastlane::Actions).to_not receive(:sh).with(/--update|--install/)
expect(Fastlane::Actions).to_not(receive(:sh).with(/--update|--install/))
expect(Fastlane::Actions).to receive(:sh).with(/installed/)
Fastlane::FastFile.new.parse("lane :test do
xcodes(version: '14', select_for_current_build_only: true)
Expand Down

0 comments on commit c335335

Please sign in to comment.