Skip to content

Commit cc868d3

Browse files
fix test
1 parent af68abe commit cc868d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/github.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ describe('A valid "role:github,cmd:get" call', () => {
8080
seneca.act('role:github,cmd:get', payload, (err, reply) => {
8181
expect(err).to.not.exist()
8282

83-
var cachedOne = reply.cached
83+
var cachedOne = reply.data.cached
8484
payload.update = true
8585

8686
seneca.act('role:github,cmd:get', payload, (err, reply) => {
8787
expect(err).to.not.exist()
8888

89-
var cachedTwo = reply.cached
89+
var cachedTwo = reply.data.cached
9090

9191
expect(cachedOne).to.be.below(cachedTwo)
9292
done()

0 commit comments

Comments
 (0)