mirror of
https://github.com/mas-cli/mas
synced 2024-11-29 23:10:18 +00:00
25 lines
620 B
Swift
25 lines
620 B
Swift
//
|
|
// LuckyCommandSpec.swift
|
|
// MasKitTests
|
|
//
|
|
// Created by Ben Chatelain on 2018-12-28.
|
|
// Copyright © 2018 mas-cli. All rights reserved.
|
|
//
|
|
|
|
@testable import MasKit
|
|
import Result
|
|
import Quick
|
|
import Nimble
|
|
|
|
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)
|
|
// expect(result).to(beSuccess())
|
|
}
|
|
}
|
|
}
|
|
}
|