/
githubmirror
/
fastlane
Обзор
Документация
Войти
/
githubmirror
/
fastlane
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
match/spec/setup_spec.rb
18 строк
647 B
Felix Krause
[match] update `fastlane match init` to support Google Cloud Storage (#13868)
07 янв 2019, 16:50
07 янв 2019, 16:50
331ce49
Код
Авторство
О чём код?
describe Match do describe Match::Setup do it "creates a new Matchfile, containing the git_url" do git_url = "https://github.com/fastlane/fastlane/tree/master/certificates" expect(FastlaneCore::UI.ui_object).to receive(:select).and_return("git") expect(FastlaneCore::UI.ui_object).to receive(:input).and_return(git_url) path = File.join(Dir.mktmpdir, "Matchfile") Match::Setup.new.run(path) content = File.read(path) expect(content).to include("git_url(\"#{git_url}\")") expect(content).to include("type(\"development\")") expect(content).to include("match --help") end end end