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