diff --git a/tests/components/drawer/drawer-fixture.html b/tests/components/drawer/drawer-fixture.html
index e69de29..6f60e66 100644
--- a/tests/components/drawer/drawer-fixture.html
+++ b/tests/components/drawer/drawer-fixture.html
@@ -0,0 +1,11 @@
+
+
+
diff --git a/tests/components/drawer/drawer-spec.js b/tests/components/drawer/drawer-spec.js
index e69de29..801b8dc 100644
--- a/tests/components/drawer/drawer-spec.js
+++ b/tests/components/drawer/drawer-spec.js
@@ -0,0 +1,30 @@
+define(function(require) {
+ "use strict";
+
+ var jQ = require("jquery");
+ var JasminejQuery = require("jasmine-jquery");
+
+ var Drawer = require("components/drawer");
+
+ describe("Drawer", function() {
+ beforeEach(function() {
+ jasmine.getFixtures().fixturesPath = "/base/tests/components";
+ loadFixtures("drawer/drawer-fixture.html");
+
+ var drawer = Drawer.create({
+ name: "Voxel.Drawer",
+ closeOnPageTouch: false
+ });
+ });
+
+ it("loadFixtures() should load fixtures", function() {
+ var voxelDrawer = jQ("[data-js~='voxelDrawer']");
+
+ expect(voxelDrawer.length).toEqual(1);
+ });
+
+ it("Should spec 2", function() {
+ });
+
+ });
+});
diff --git a/tests/index.js b/tests/index.js
index b95b36e..7de85fd 100644
--- a/tests/index.js
+++ b/tests/index.js
@@ -16,6 +16,8 @@ require.config({
paths: {
// Libraries
+ "jasmine-jquery": "libraries/jasmine-jquery/lib/jasmine-jquery",
+ "jasmine-ajax": "libraries/jasmine-ajax/lib/mock-ajax",
"jquery": "libraries/jquery/jquery",
"es5-shim": "libraries/es5-shim/es5-shim.min",
"es5-sham": "libraries/es5-shim/es5-sham.min",
@@ -25,6 +27,10 @@ require.config({
"voxel": "src/scripts/voxel",
"components/drawer": "src/scripts/components/drawer",
// /Application
+
+ // Fixtures
+ "voxel-fixture": "tests/fixtures/voxel-fixture"
+ // /Fixtures
},
shim: {
diff --git a/tests/voxel/voxel-spec.js b/tests/voxel/voxel-spec.js
index d9c550f..5636086 100644
--- a/tests/voxel/voxel-spec.js
+++ b/tests/voxel/voxel-spec.js
@@ -1,5 +1,12 @@
-define(["./voxel-fixture", "voxel"],
-function(VoxelFixture, Voxel) {
+define(function(require) {
+ "use strict";
+
+ var jQ = require("jquery");
+ var JasminejQuery = require("jasmine-jquery");
+
+ var VoxelFixture = require("./voxel-fixture");
+ var Voxel = require("voxel");
+
describe("Voxel", function() {
it("Should greet", function() {
var voxel = Voxel.create();