mas/Tests/masTests/Commands/PurchaseSpec.swift

29 lines
609 B
Swift
Raw Normal View History

2020-03-21 12:31:46 +01:00
//
// PurchaseSpec.swift
// masTests
2020-03-21 12:31:46 +01:00
//
// Created by Maximilian Blochberger on 2020-03-21.
// Copyright © 2020 mas-cli. All rights reserved.
//
import Nimble
import Quick
@testable import mas
2021-03-21 22:25:18 -07:00
public class PurchaseSpec: QuickSpec {
override public func spec() {
2021-04-23 00:01:18 -07:00
beforeSuite {
MAS.initialize()
2021-04-23 00:01:18 -07:00
}
xdescribe("purchase command") {
xit("purchases apps") {
expect {
try MAS.Purchase.parse(["999"]).run(appLibrary: AppLibraryMock())
}
.toNot(throwError())
2020-03-21 12:31:46 +01:00
}
}
}
}