Sha256: b2d12e48c62d74be25efdd2119f7c4939dd82ea5a7b3b9c6fc85b03aaf4271e2
Contents?: true
Size: 520 Bytes
Versions: 7
Compression:
Stored size: 520 Bytes
Contents
require "webmock/rspec" require "json" require "deploygate" RSpec.configure do |config| config.before :each do # config file mock allow(DeployGate::Config::Credential).to receive(:file_path).and_return(File.join(SPEC_FILE_PATH, 'test_files/.dg/credentials')) # config dir mock allow(FileUtils).to receive(:mkdir_p) {} end end API_ENDPOINT = "https://deploygate.com/api" SPEC_FILE_PATH = File.dirname(__FILE__) def test_file_path File.join(SPEC_FILE_PATH, 'test_files/DeployGateSample.apk') end
Version data entries
7 entries across 7 versions & 1 rubygems