Skip to content

Commit

Permalink
Add test for misassociation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wirth committed Apr 15, 2016
1 parent 496559e commit 4cfd728
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/sets/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe 'Basic sets', ->
done()
.catch(done)

it.only 'should not choke on complex input', (done) ->
it 'should not choke on complex input', (done) ->
fs.readFile './test/sets/complex/1', (err, data) =>

@extractor.extract(data.toString())
Expand All @@ -119,6 +119,10 @@ describe 'Basic sets', ->

@extractor.extract(data.toString())
.then (datasets) ->
console.log datasets
# console.log JSON.stringify datasets, null, 4
for set in datasets
for field in set.data
expect(field.value).to.not.be.undefined
expect(field.name).to.not.be.undefined
done()
.catch(done)

0 comments on commit 4cfd728

Please sign in to comment.