Creates or overwrites a file in the storage medium.
(self, name: &str, content: &str)
| 729 | |
| 730 | /// Creates or overwrites a file in the storage medium. |
| 731 | pub fn write_file(self, name: &str, content: &str) -> Self { |
| 732 | block_on(self.storage.borrow_mut().put(name, content.as_bytes())).unwrap(); |
| 733 | self |
| 734 | } |
| 735 | |
| 736 | /// Runs `script` in the configured machine and returns a `Checker` object to validate |
| 737 | /// expectations about the execution. |
no test coverage detected