 
 describe "axialDistance", ->
   beforeEach ->
-    @grid = new Grid()
+    @grid = new Grid
 
   it "distance from (0,0) to (0,0) is 0", ->
     result = @grid.axialDistance(0, 0, 0, 0)


describe "getCenterXY", ->
  it "calculates pixel coordinates based on hexagon settings", ->
    grid = new Grid()
    grid.tileSpacing = 0
    grid.tileSize = 100
    grid.pointyTiles = false


describe "ring", ->
  it "returns coordinates for a ring two (2) tiles from center", ->
    grid = new Grid
    result = grid.ring(-1, -1, 2)
    expect(result).toContain({ q:  1, r: -1 })
    expect(result).toContain({ q:  1, r: -2 })
