mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 22:12:50 +08:00
Start ember testing
This commit is contained in:
parent
df7da9338d
commit
d30b178f06
20
ember/tests/integration/index-test.js
Normal file
20
ember/tests/integration/index-test.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
import Ember from "ember";
|
||||
import { test } from 'ember-qunit';
|
||||
import startApp from '../helpers/start-app';
|
||||
var App;
|
||||
|
||||
module('Index', {
|
||||
setup: function() {
|
||||
App = startApp();
|
||||
},
|
||||
teardown: function() {
|
||||
Ember.run(App, App.destroy);
|
||||
}
|
||||
});
|
||||
|
||||
test('Discussion list loading', function() {
|
||||
// expect(1);
|
||||
visit('/').then(function() {
|
||||
// equal(find('.discussions-list').length, 1, "Page contains list of discussions");
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user