platform/test/view_generator_test.dart
2018-08-19 11:33:25 -04:00

11 lines
351 B
Dart

import 'package:angel_container/mirrors.dart';
import 'package:angel_framework/angel_framework.dart';
import 'package:test/test.dart';
main() {
test('default view generator', () async {
var app = new Angel(MirrorsReflector());
var view = await app.viewGenerator('foo', {'bar': 'baz'});
expect(view, contains('No view engine'));
});
}