Skip to content

Commit

Permalink
💚 Revert changes in element specs
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Mar 31, 2015
1 parent 40d16f4 commit 814a124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/minimap-element-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ describe 'MinimapElement', ->
nextAnimationFrame()

expect(minimapElement.drawLines).toHaveBeenCalled()
expect(minimapElement.drawLines.argsForCall[1][1]).toEqual(110)
expect(minimapElement.drawLines.argsForCall[1][2]).toEqual(110)
expect(minimapElement.drawLines.argsForCall[1][1]).toEqual(100)
expect(minimapElement.drawLines.argsForCall[1][2]).toEqual(101)

describe 'when the editor visibility change', ->
it 'does not modify the size of the canvas', ->
Expand Down

2 comments on commit 814a124

@ChaoticMind
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests are failing here, the actual values are 110, not the expected 100/101.

@abe33
Copy link
Contributor Author

@abe33 abe33 commented on 814a124 Apr 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't found why locally the values end up being 110 and not the previous ones, however, Travis is still passing with these values, so I'll have to find where the difference comes from.

Please sign in to comment.