mirror of
https://github.com/mas-cli/mas
synced 2024-11-29 15:00:25 +00:00
28 lines
701 B
Swift
28 lines
701 B
Swift
//
|
|
// LuckyCommandSpec.swift
|
|
// MasKitTests
|
|
//
|
|
// Created by Ben Chatelain on 2018-12-28.
|
|
// Copyright © 2018 mas-cli. All rights reserved.
|
|
//
|
|
|
|
import Nimble
|
|
import Quick
|
|
|
|
@testable import MasKit
|
|
|
|
public class LuckyCommandSpec: QuickSpec {
|
|
override public func spec() {
|
|
beforeSuite {
|
|
MasKit.initialize()
|
|
}
|
|
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())
|
|
}
|
|
}
|
|
}
|
|
}
|