Skip to content

Commit

Permalink
Rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklyp committed Sep 12, 2024
1 parent ac1f9cd commit 75c0420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def self.run(params)
UI.user_error!("Failed to create subtask for task: #{e}")
end

Helper::GitHubActionsHelper.set_output("new_task_id", subtask.gid) if subtask&.gid
Helper::GitHubActionsHelper.set_output("asana_new_task_id", subtask.gid) if subtask&.gid
end

def self.description
Expand Down
2 changes: 1 addition & 1 deletion spec/asana_create_action_item_action_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
it "correctly sets output" do
allow(@asana_client_tasks).to receive(:create_subtask_for_task).and_return(double('subtask', gid: "42"))
test_action(task_url: task_url, task_name: task_name, notes: "notes", is_scheduled_release: true)
expect(Fastlane::Helper::GitHubActionsHelper).to have_received(:set_output).with("new_task_id", "42")
expect(Fastlane::Helper::GitHubActionsHelper).to have_received(:set_output).with("asana_new_task_id", "42")
end
end

Expand Down

0 comments on commit 75c0420

Please sign in to comment.