diff options
Diffstat (limited to 'tests/tutorial')
-rw-r--r-- | tests/tutorial/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tutorial/mod.rs b/tests/tutorial/mod.rs index 0bd626e..fb05066 100644 --- a/tests/tutorial/mod.rs +++ b/tests/tutorial/mod.rs @@ -223,7 +223,7 @@ tosin = { path = "/home/cactus/Documents/tosin" } // update polls/models.rs fs::write("src/polls/models.rs", r#" -use tosin::db::models::{Model, Id}; +use tosin::db::models::{Model, Id, gather}; #[derive(Model)] pub struct Question { @@ -244,6 +244,8 @@ pub struct Choice { #[model(default = 0)] votes: usize, } + +gather!(); "#).unwrap(); // update main.rs |