2021-05-14 10:34:09 +00:00
|
|
|
import 'package:angel3_framework/angel3_framework.dart';
|
2017-06-29 22:17:42 +00:00
|
|
|
import 'package:test/test.dart';
|
|
|
|
|
2021-05-14 10:34:09 +00:00
|
|
|
void main() {
|
2017-06-29 22:17:42 +00:00
|
|
|
test('default view generator', () async {
|
2019-05-02 22:48:31 +00:00
|
|
|
var app = Angel();
|
2021-03-20 08:11:18 +00:00
|
|
|
var view = await app.viewGenerator!('foo', {'bar': 'baz'});
|
2017-06-29 22:17:42 +00:00
|
|
|
expect(view, contains('No view engine'));
|
|
|
|
});
|
2017-09-22 14:03:23 +00:00
|
|
|
}
|