Skip to content

Commit

Permalink
Document #902 implementation
Browse files Browse the repository at this point in the history
Related to #902
  • Loading branch information
LeoColman committed Jul 19, 2019
1 parent 50527a1 commit 9a4075a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class MyTests : FreeSpec({

### Describe Spec

`DescribeSpec` offers functionality familar to those who are coming from a Ruby background, as this testing style
`DescribeSpec` offers functionality familiar to those who are coming from a Ruby background, as this testing style
mimics the popular ruby test framework [rspec](http://rspec.info/). The scopes available are `describe`, `context`, and `it`.

```kotlin
Expand All @@ -208,6 +208,12 @@ class MyTests : DescribeSpec({
// test here
}
}

describe("for the opposite team") {
it("Should negate one score") {
// test here
}
}
}
})
```
Expand Down

0 comments on commit 9a4075a

Please sign in to comment.