refactor: rename action (#2)
This commit is contained in:
parent
155d048c18
commit
0a004a595c
@ -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])
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user