Skip to content

Commit

Permalink
fix for ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kshann committed Jan 28, 2025
1 parent 9558474 commit 1ea14d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/ddg_apple_automation_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def load_file(file)
@client = double("Octokit::Client")
allow(Octokit::Client).to receive(:new).and_return(@client)
allow(@client).to receive(:latest_release).and_return(double(tag_name: version))

allow(Fastlane::Helper).to receive(:is_ci?).and_return(false)
allow(Fastlane::Helper::GitHelper).to receive(:repo_name).and_return("macOS")

allow(Fastlane::Helper::DdgAppleAutomationHelper).to receive(:code_freeze_prechecks)
Expand Down Expand Up @@ -175,7 +175,7 @@ def load_file(file)
@client = double("Octokit::Client")
allow(Octokit::Client).to receive(:new).and_return(@client)
allow(@client).to receive(:latest_release).and_return(double(tag_name: version))

allow(Fastlane::Helper).to receive(:is_ci?).and_return(false)
allow(Fastlane::Helper::GitHelper).to receive(:repo_name).and_return("iOS")

allow(Fastlane::Helper::DdgAppleAutomationHelper).to receive(:code_freeze_prechecks)
Expand Down

0 comments on commit 1ea14d8

Please sign in to comment.