Skip to content

Commit

Permalink
tests: Use new testing API
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Nov 27, 2016
1 parent 61189ea commit 7dda18b
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
8 changes: 4 additions & 4 deletions ember/tests/integration/components/flight-list-nav-test.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Ember from 'ember';

import { expect } from 'chai';
import { describeComponent } from 'ember-mocha';
import { beforeEach, it } from 'mocha';
import { setupComponentTest } from 'ember-mocha';
import { beforeEach, it, describe } from 'mocha';
import hbs from 'htmlbars-inline-precompile';

import instanceInitializer from '../../../instance-initializers/ember-intl';

let options = { integration: true };
describe('Integration: FlightListNavComponent', function() {
setupComponentTest('flight-list-nav', { integration: true });

describeComponent('flight-list-nav', 'Integration: FlightListNavComponent', options, function() {
beforeEach(function() {
instanceInitializer.initialize(this);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Ember from 'ember';

import { expect } from 'chai';
import { describeComponent } from 'ember-mocha';
import { beforeEach, it } from 'mocha';
import { setupComponentTest } from 'ember-mocha';
import { beforeEach, it, describe } from 'mocha';
import hbs from 'htmlbars-inline-precompile';

import instanceInitializer from '../../../../instance-initializers/ember-intl';

let options = { integration: true };
describe('Integration: ClubJoinTimelineEventComponent', function() {
setupComponentTest('timeline-events/club-join', { integration: true });

describeComponent('timeline-events/club-join', 'Integration: ClubJoinTimelineEventComponent', options, function() {
beforeEach(function() {
instanceInitializer.initialize(this);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Ember from 'ember';

import { expect } from 'chai';
import { describeComponent } from 'ember-mocha';
import { beforeEach, it } from 'mocha';
import { setupComponentTest } from 'ember-mocha';
import { beforeEach, it, describe } from 'mocha';
import hbs from 'htmlbars-inline-precompile';

import instanceInitializer from '../../../../instance-initializers/ember-intl';

let options = { integration: true };
describe('Integration: FlightCommentTimelineEventComponent', function() {
setupComponentTest('timeline-events/flight-comment', { integration: true });

describeComponent('timeline-events/flight-comment', 'Integration: FlightCommentTimelineEventComponent', options, function() {
beforeEach(function() {
instanceInitializer.initialize(this);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Ember from 'ember';

import { expect } from 'chai';
import { describeComponent } from 'ember-mocha';
import { beforeEach, it } from 'mocha';
import { setupComponentTest } from 'ember-mocha';
import { beforeEach, it, describe } from 'mocha';
import hbs from 'htmlbars-inline-precompile';

import instanceInitializer from '../../../../instance-initializers/ember-intl';

let options = { integration: true };
describe('Integration: FlightUploadTimelineEventComponent', function() {
setupComponentTest('timeline-events/flight-upload', { integration: true });

describeComponent('timeline-events/flight-upload', 'Integration: FlightUploadTimelineEventComponent', options, function() {
beforeEach(function() {
instanceInitializer.initialize(this);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Ember from 'ember';

import { expect } from 'chai';
import { describeComponent } from 'ember-mocha';
import { beforeEach, it } from 'mocha';
import { setupComponentTest } from 'ember-mocha';
import { beforeEach, it, describe } from 'mocha';
import hbs from 'htmlbars-inline-precompile';

import instanceInitializer from '../../../../instance-initializers/ember-intl';

let options = { integration: true };
describe('Integration: FollowerTimelineEventComponent', function() {
setupComponentTest('timeline-events/follower', { integration: true });

describeComponent('timeline-events/follower', 'Integration: FollowerTimelineEventComponent', options, function() {
beforeEach(function() {
instanceInitializer.initialize(this);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Ember from 'ember';

import { expect } from 'chai';
import { describeComponent } from 'ember-mocha';
import { beforeEach, it } from 'mocha';
import { setupComponentTest } from 'ember-mocha';
import { beforeEach, it, describe } from 'mocha';
import hbs from 'htmlbars-inline-precompile';

import instanceInitializer from '../../../../instance-initializers/ember-intl';

let options = { integration: true };
describe('Integration: NewUserTimelineEventComponent', function() {
setupComponentTest('timeline-events/new-user', { integration: true });

describeComponent('timeline-events/new-user', 'Integration: NewUserTimelineEventComponent', options, function() {
beforeEach(function() {
instanceInitializer.initialize(this);

Expand Down

0 comments on commit 7dda18b

Please sign in to comment.