11 lines
362 B
Dart
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'));
|
|
});
|
|
}
|