mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 11:33:13 +00:00
28 lines
677 B
Swift
28 lines
677 B
Swift
//
|
|
// PurchaseCommandSpec.swift
|
|
// MasKitTests
|
|
//
|
|
// Created by Maximilian Blochberger on 2020-03-21.
|
|
// Copyright © 2020 mas-cli. All rights reserved.
|
|
//
|
|
|
|
import Nimble
|
|
import Quick
|
|
|
|
@testable import MasKit
|
|
|
|
public class PurchaseCommandSpec: QuickSpec {
|
|
override public func spec() {
|
|
beforeSuite {
|
|
MasKit.initialize()
|
|
}
|
|
describe("purchase command") {
|
|
it("purchases apps") {
|
|
let cmd = PurchaseCommand()
|
|
let result = cmd.run(PurchaseCommand.Options(appIds: []))
|
|
print(result)
|
|
// expect(result).to(beSuccess())
|
|
}
|
|
}
|
|
}
|
|
}
|