refactor: rename action (#2)

This commit is contained in:
Malo Léon 2023-04-26 17:00:56 +02:00
parent 155d048c18
commit 0a004a595c
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ require_relative '../helper/ios_cd_helper'
module Fastlane module Fastlane
module Actions module Actions
class BuildAndDeploy < Action class BuildAndDeployAction < Action
def self.run(params) def self.run(params)
# Check parameters # Check parameters
unless Helper::IosCdHelper.is_set(params[:beta_type]) unless Helper::IosCdHelper.is_set(params[:beta_type])

View File

@ -1,9 +1,9 @@
describe Fastlane::Actions::BuildAndDeploy do describe Fastlane::Actions::BuildAndDeployAction do
describe '#run' do describe '#run' do
it 'prints a message' do it 'prints a message' do
expect(Fastlane::UI).to receive(:message).with("The ios_cd plugin is working!") expect(Fastlane::UI).to receive(:message).with("The ios_cd plugin is working!")
Fastlane::Actions::BuildAndDeploy.run(nil) Fastlane::Actions::BuildAndDeployAction.run(nil)
end end
end end
end end