Skip to content

Commit

Permalink
fix: spec
Browse files Browse the repository at this point in the history
  • Loading branch information
emilos authored and Nicolas Fernandez committed Jun 23, 2017
1 parent 05598b5 commit 3a18cef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/rules/named-spy.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ eslintTester.run('named-spy', rule, {
// Correct use of named spies
'var onSuccess = jasmine.createSpy("onSuccess")',
'onSuccess = jasmine.createSpy("onSuccess")',
'onSuccess(jasmine.createSpy("callback"))',
// Handles spy as noop
'foo(jasmine.createSpy("callback"))',
linesToCode([
'someObject = {',
' someFunc: jasmine.createSpy("someFunc")',
Expand Down

0 comments on commit 3a18cef

Please sign in to comment.