mas/Tests/MasKitTests/Commands/LuckyCommandSpec.swift
Chris Araman 9904707152
🧹 Lint
2021-05-12 11:19:12 -07:00

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())
}
}
}
}