Skip to content

Commit

Permalink
fix example naming mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
thebearingedge committed Aug 5, 2016
1 parent 0b64058 commit 1807218
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('my data', () => {
expect(fanbois).to.have.structure({
id: Number,
groupTitle: String,
users: [{ username: String }]
members: [{ username: String }]
})
})

Expand All @@ -35,14 +35,14 @@ describe('my data', () => {
expect(fanbois).to.have.structure({
id: Number,
groupTitle: String,
users: [{ username: Boolean }] // <- this ain't right
members: [{ username: Boolean }] // <- this ain't right
})

/**
* 1) my data has the correct structure?:
* AssertionError: Unexpected structure:
* {
* "users": {
* "members": {
* "0": {
* "username": {
* "actual": "String",
Expand Down

0 comments on commit 1807218

Please sign in to comment.