Skip to content

Commit

Permalink
Update to use so-far-unreleased feature in ember-test-helpers
Browse files Browse the repository at this point in the history
We can merge this to master when my PR lands and releases. emberjs/ember-test-helpers#38
  • Loading branch information
ef4 committed Apr 8, 2015
1 parent 3bd9675 commit efcaad9
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 143 deletions.
119 changes: 0 additions & 119 deletions tests/helpers/module-for-integration.js

This file was deleted.

6 changes: 3 additions & 3 deletions tests/integration/helpers/liquid-bind-test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* global sinon */
import Ember from "ember";
import moduleForIntegration from "../../helpers/module-for-integration";
import { test } from "ember-qunit";
import { test, moduleForComponent } from "ember-qunit";
import QUnit from 'qunit';

moduleForIntegration('Integration: liquid-bind', {
moduleForComponent('liquid-bind', {
integration: true,
teardown: function() {
QUnit.stop();
var tmap = this.container.lookup('service:liquid-fire-transitions');
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/helpers/liquid-container-test.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import Ember from "ember";
import moduleForIntegration from "../../helpers/module-for-integration";
import { test } from "ember-qunit";
import { test, moduleForComponent } from "ember-qunit";
import QUnit from 'qunit';

var tmap;

moduleForIntegration('Integration: liquid-container', {
moduleForComponent('liquid-container', {
integration: true,
setup: function() {
tmap = this.container.lookup('service:liquid-fire-transitions');
},
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/helpers/liquid-if-test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* global sinon */
import Ember from "ember";
import moduleForIntegration from "../../helpers/module-for-integration";
import { test } from "ember-qunit";
import { test, moduleForComponent } from "ember-qunit";
import QUnit from 'qunit';

moduleForIntegration('Integration: liquid-if', {
moduleForComponent('liquid-if', {
integration: true,
teardown: function() {
QUnit.stop();
var tmap = this.container.lookup('service:liquid-fire-transitions');
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/helpers/liquid-outlet-test.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* global sinon */
import Ember from "ember";
import moduleForIntegration from "../../helpers/module-for-integration";
import { test } from "ember-qunit";
import { test, moduleForComponent } from "ember-qunit";
import { setOutletState, withTemplate } from "../../helpers/outlet";
import QUnit from 'qunit';

moduleForIntegration('Integration: liquid-outlet', {
moduleForComponent('liquid-outlet', {
integration: true,
teardown: function() {
QUnit.stop();
var tmap = this.container.lookup('service:liquid-fire-transitions');
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/helpers/liquid-spacer-test.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* global sinon */
import Ember from "ember";
import moduleForIntegration from "../../helpers/module-for-integration";
import { test } from "ember-qunit";
import { test, moduleForComponent } from "ember-qunit";
import QUnit from 'qunit';
import { testingKick } from "liquid-fire/mutation-observer";

var tmap;

moduleForIntegration('Integration: liquid-spacer', {
moduleForComponent('liquid-spacer', {
integration: true,
setup: function() {
tmap = this.container.lookup('service:liquid-fire-transitions');
},
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/helpers/liquid-with-test.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* global sinon */
import Ember from "ember";
import moduleForIntegration from "../../helpers/module-for-integration";
import { test } from "ember-qunit";
import { test, moduleForComponent } from "ember-qunit";
import { setOutletState, withTemplate } from "../../helpers/outlet";
import QUnit from "qunit";

moduleForIntegration('Integration: liquid-with', {
moduleForComponent('liquid-with', {
integration: true,
teardown: function() {
QUnit.stop();
var tmap = this.container.lookup('service:liquid-fire-transitions');
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/transitions/explode-test.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* global sinon */
import Ember from "ember";
import moduleForIntegration from "../../helpers/module-for-integration";
import { test } from "ember-qunit";
import { test, moduleForComponent } from "ember-qunit";
import QUnit from 'qunit';

var Promise = Ember.RSVP.Promise;
var tmap;

moduleForIntegration('Integration: explode transition', {
moduleForComponent('explode transition', {
integration: true,
setup: function() {
tmap = this.container.lookup('service:liquid-fire-transitions');
},
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/transitions/fly-to-test.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* global sinon */
import Ember from "ember";
import moduleForIntegration from "../../helpers/module-for-integration";
import { test } from "ember-qunit";
import { test, moduleForComponent } from "ember-qunit";
import QUnit from 'qunit';

var tmap;

moduleForIntegration('Integration: fly-to transition', {
moduleForComponent('fly-to transition', {
integration: true,
setup: function () {
tmap = this.container.lookup('service:liquid-fire-transitions');
},
Expand Down

0 comments on commit efcaad9

Please sign in to comment.