Skip to content
Browse files

fixtures back in test file

  • Loading branch information...
1 parent ee370bb commit 403e9c1324c5d9398cd1a335c8e3e668aaa3bb8b @noelrappin committed Sep 7, 2013
Showing with 4 additions and 5 deletions.
  1. +4 −0 test/javascripts/integration/indexControllerTest.js
  2. +0 −5 test/javascripts/test_helper.js
View
4 test/javascripts/integration/indexControllerTest.js
@@ -1,5 +1,9 @@
module("Index Controller", {
setup: function() {
+ TimeTravel.Trip.FIXTURES = [
+ { id: 1, name: "Mayflower", description: "DESC",
+ start_date: "1620-09-06", end_date: "1620-11-21" }
+ ];
Ember.run(TimeTravel, TimeTravel.advanceReadiness);
},
teardown: function() {
View
5 test/javascripts/test_helper.js
@@ -18,11 +18,6 @@ TimeTravel.ApplicationAdapter = DS.FixtureAdapter.extend();
TimeTravel.setupForTesting();
TimeTravel.injectTestHelpers();
-TimeTravel.Trip.FIXTURES = [
- { id: 1, name: "Mayflower", description: "DESC",
- start_date: "1620-09-06", end_date: "1620-11-21" }
-];
-
function exists(selector) {
return !!find(selector).length;
}

0 comments on commit 403e9c1

Please sign in to comment.
Something went wrong with that request. Please try again.