2017-06-29 22:17:42 +00:00
|
|
|
import 'package:angel_framework/angel_framework.dart';
|
|
|
|
import 'package:test/test.dart';
|
|
|
|
|
|
|
|
main() {
|
|
|
|
test('default view generator', () async {
|
2018-08-21 18:50:43 +00:00
|
|
|
var app = new Angel();
|
2017-06-29 22:17:42 +00:00
|
|
|
var view = await app.viewGenerator('foo', {'bar': 'baz'});
|
|
|
|
expect(view, contains('No view engine'));
|
|
|
|
});
|
2017-09-22 14:03:23 +00:00
|
|
|
}
|