var chai = require('chai');
var Ivoire = require("ivoire-dice");

chai.should();

describe('ivoire-dice', function () {
  var seed = 42
  var i;

  beforeEach(function(){
    i = new Ivoire({seed: seed});
  });

  describe('#roll()', function () {
    it('should roll a set of dice', function () {
      i.roll('1d6').should.equal(4)
    });
  });

  describe('#roll_fudge()', function () {
    it('should roll a set of fudge dice', function () {
      i.roll_fudge().should.equal(0)
    });
  });
});

@@ -43,16 +43,22 @@
 equire(%22
+./lib/
 ivoire-d
@@ -64,16 +64,16 @@
 dice%22);%0A
-
 %0Achai.sh
@@ -142,16 +142,21 @@
 %0A  var i
+voire
 ;%0A%0A  bef
@@ -180,16 +180,21 @@
 )%7B%0A    i
+voire
  = new I
@@ -310,24 +310,29 @@
 () %7B%0A      i
+voire
 .roll('1d6')
@@ -461,23 +461,28 @@
 on () %7B%0A
-
       i
+voire
 .roll_fu

Fix tests.