Skip to content

Instantly share code, notes, and snippets.

@victorpanitz
Created October 26, 2019 04:37
Show Gist options
  • Save victorpanitz/aa583c8828479cba0c5461cb813b49ca to your computer and use it in GitHub Desktop.
Save victorpanitz/aa583c8828479cba0c5461cb813b49ca to your computer and use it in GitHub Desktop.
class TableOfContentsSpec: QuickSpec {
override func spec() {
describe("the 'Documentation' directory") {
it("has everything you need to get started") {
let sections = Directory("Documentation").sections
expect(sections).to(contain("Organized Tests with Quick Examples and Example Groups"))
expect(sections).to(contain("Installing Quick"))
}
context("if it doesn't have what you're looking for") {
it("needs to be updated") {
let you = You(awesome: true)
expect{you.submittedAnIssue}.toEventually(beTruthy())
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment