ActionSheetStandardPresenterTests.swift 689 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // ActionSheetStandardPresenterTests.swift
  3. // SheeeeeeeeetTests
  4. //
  5. // Created by Daniel Saidi on 2018-10-18.
  6. // Copyright © 2018 Daniel Saidi. All rights reserved.
  7. //
  8. import Quick
  9. import Nimble
  10. import Sheeeeeeeeet
  11. class ActionSheetStandardPresenterTests: QuickSpec {
  12. override func spec() {
  13. var presenter: ActionSheetStandardPresenter!
  14. beforeEach {
  15. presenter = ActionSheetStandardPresenter()
  16. }
  17. describe("background tap dismissal") {
  18. it("is enabled by default") {
  19. expect(presenter.isDismissableWithTapOnBackground).to(beTrue())
  20. }
  21. }
  22. }
  23. }