From 298b3bfebc3d0dafe6ac7e3fc38f9ea9540b59b1 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramkov Date: Mon, 8 May 2017 21:37:18 +0300 Subject: [PATCH] fix spec typo --- fastlane/Fastfile | 12 +----------- spec/mobile_center_upload_spec.rb | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 85e20a5..f406ea2 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -15,9 +15,7 @@ lane :test do api_token: ENV["TEST_MOBILE_CENTER_API_TOKEN"], owner_name: ENV["TEST_MOBILE_CENTER_OWNER_NAME"], app_name: "MyApplication", - apk: "./fastlane/app-release.apk", - group: ENV["TEST_MOBILE_CENTER_DISTRIBUTE_GROUP"], - release_notes: ENV["TEST_MOBILE_CENTER_DISTRIBUTE_RELEASE_NOTES"] + apk: "./fastlane/app-release.apk" ) UI.message("\n\n\n=====================================\n uploading ios with dSYM files (not zipped) \n=====================================") @@ -59,14 +57,6 @@ lane :test do UI.message("\n#{Terminal::Table.new(rows: response.body.map!(&:values), headings: %w[symbol_upload_id app_id origin status symbol_type])}") - # use it for deleting all dSYM uploads - # response.body.map! do |item| - # connection.delete do |req| - # req.url("/v0.1/apps/#{ENV['TEST_MOBILE_CENTER_OWNER_NAME']}/MyApplication-01/symbol_uploads/#{item[0]}") - # req.headers['X-API-Token'] = ENV['TEST_MOBILE_CENTER_API_TOKEN'] - # end - # end - UI.message("\n\n\n=====================================\n testing shared values\n=====================================") UI.message("MOBILE_CENTER_DOWNLOAD_LINK = #{Actions.lane_context[SharedValues::MOBILE_CENTER_DOWNLOAD_LINK]}") UI.message("MOBILE_CENTER_BUILD_INFORMATION = #{JSON.pretty_generate(Actions.lane_context[SharedValues::MOBILE_CENTER_BUILD_INFORMATION])}") diff --git a/spec/mobile_center_upload_spec.rb b/spec/mobile_center_upload_spec.rb index c936825..1e82710 100644 --- a/spec/mobile_center_upload_spec.rb +++ b/spec/mobile_center_upload_spec.rb @@ -49,7 +49,7 @@ def stub_add_to_group(status) .to_return(status: status, body: "{\"short_version\":\"1.0\",\"download_link\":\"https://download.link\"}", headers: { 'Content-Type' => 'application/json' }) end -describe Fastlane::Actions::MobileCenterAction do +describe Fastlane::Actions::MobileCenterUploadAction do describe '#run' do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil)