platform/test/view_generator_test.dart
2018-08-19 22:40:11 -04:00

11 lines
362 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(reflector: MirrorsReflector());
var view = await app.viewGenerator('foo', {'bar': 'baz'});
expect(view, contains('No view engine'));
});
}