2018-12-28 22:23:22 +00:00
|
|
|
//
|
|
|
|
// LuckyCommandSpec.swift
|
|
|
|
// MasKitTests
|
|
|
|
//
|
|
|
|
// Created by Ben Chatelain on 2018-12-28.
|
|
|
|
// Copyright © 2018 mas-cli. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
@testable import MasKit
|
|
|
|
import Nimble
|
2019-01-30 06:15:24 +00:00
|
|
|
import Quick
|
2018-12-28 22:23:22 +00:00
|
|
|
|
|
|
|
class LuckyCommandSpec: QuickSpec {
|
|
|
|
override func spec() {
|
|
|
|
describe("lucky command") {
|
|
|
|
it("installs the first app matching a search") {
|
|
|
|
let cmd = LuckyCommand()
|
|
|
|
let result = cmd.run(LuckyCommand.Options(appName: "", forceInstall: false))
|
|
|
|
print(result)
|
2020-05-15 03:32:51 +00:00
|
|
|
// expect(result).to(beSuccess())
|
2018-12-28 22:23:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|