mas/Tests/masTests/Commands/PurchaseSpec.swift
Ross Goldberg f8d7a36a4c
Upgrade test dependencies.
Quick upgrade necessary if we ever switch from PromiseKit to Swift concurrency.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-14 04:39:51 -04:00

28 lines
616 B
Swift

//
// PurchaseSpec.swift
// masTests
//
// Created by Maximilian Blochberger on 2020-03-21.
// Copyright © 2020 mas-cli. All rights reserved.
//
import Nimble
import Quick
@testable import mas
public class PurchaseSpec: QuickSpec {
override public static func spec() {
beforeSuite {
Mas.initialize()
}
xdescribe("purchase command") {
xit("purchases apps") {
expect {
try Mas.Purchase.parse(["999"]).run(appLibrary: AppLibraryMock())
}
.toNot(throwError())
}
}
}
}