Permalink
Browse files

Reference test: use test repo

  • Loading branch information...
1 parent 02dcbb1 commit 34c43a9888505b2bef277feecf211e84216df2b9 @ben ben committed Jun 22, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test.reference.coffee
@@ -5,7 +5,7 @@ gitteh = require "../lib/gitteh"
utils = require "./utils"
fixtures = require "./fixtures"
-{secondCommit} = fixtures.projectRepo
+secondCommit = fixtures.testRepo.secondCommit
describe "Reference", ->
repo = null
@@ -14,7 +14,7 @@ describe "Reference", ->
describe "Using the project repo...", ->
it "can find the HEAD sym reference", (done) ->
- gitteh.openRepository fixtures.projectRepo.path, (err, _repo) ->
+ gitteh.openRepository fixtures.testRepo.path, (err, _repo) ->
repo = _repo
# We'll need this later.
@@ -62,4 +62,4 @@ describe "Reference", ->
repo.createReference "refs/heads/testref", secondCommit.id, (err, _ref) ->
should.exist err
err.should.be.an.instanceof Error
- done()
+ done()

0 comments on commit 34c43a9

Please sign in to comment.