Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #214 from gemini-testing/fix/no.ref.img.err
Browse files Browse the repository at this point in the history
Fixes due to removed deprecated fields in runner events in b0b48a1
  • Loading branch information
j0tunn committed Aug 17, 2015
2 parents 5c86241 + e8717c0 commit 550fa56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 2 additions & 4 deletions lib/errors/no-ref-image-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ var NoRefImageError = inherit(StateError, {
this.message = 'Can not find reference image at ' + refImagePath + '.\n' +
'Run `gemini gather` command to capture all reference images.';

this.suiteName = result.suiteName;
this.suiteId = result.suiteId;
this.stateName = result.stateName;
this.suitePath = result.suitePath;
this.suite = result.suite;
this.state = result.state;
this.browserId = result.browserId;
}
});
Expand Down
5 changes: 1 addition & 4 deletions lib/tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ module.exports = inherit(Runner, {
return q.reject(new NoRefImageError(refPath,
{
suite: capture.suite,
suiteName: capture.suite.name,
suiteId: capture.suite.id,
stateName: capture.state.name,
suitePath: capture.suite.path,
state: capture.state,
browserId: capture.browser.id
}));
}
Expand Down

0 comments on commit 550fa56

Please sign in to comment.