mirror of
https://github.com/mas-cli/mas
synced 2024-11-29 23:10:18 +00:00
27 lines
615 B
Swift
27 lines
615 B
Swift
//
|
|
// UpgradeCommandSpec.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 UpgradeCommandSpec: QuickSpec {
|
|
override public func spec() {
|
|
beforeSuite {
|
|
MasKit.initialize()
|
|
}
|
|
describe("upgrade command") {
|
|
it("upgrades stuff") {
|
|
let cmd = UpgradeCommand()
|
|
let result = cmd.run(UpgradeCommand.Options(apps: [""]))
|
|
expect(result).to(beSuccess())
|
|
}
|
|
}
|
|
}
|
|
}
|