File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 4949 (with-buttercup-filesystem '((" foo/bar" " amazing content" ))
5050 (expect " foo/bar" :to-contain " amazing content" )))
5151
52+ (it " should know how to match file content"
53+ (with-buttercup-filesystem '((" foo" " content with a lot of stuff" ))
54+ (expect " foo" :content-to-match " with a" )))
55+
5256 (it " should nest files recursively"
5357 (with-buttercup-filesystem '((" foo" (" bar" " baz" " bam/" ))
5458 (" a/b" (" c" " d/" ))
5559 (" x" ((" y" (" z" ))
60+ (" content" " content" )
5661 " w" )))
5762 (expect " foo/bar" :to-be-file )
5863 (expect " foo/baz" :to-be-file )
5964 (expect " foo/bam" :to-be-directory )
6065 (expect " a/b/c" :to-be-file )
6166 (expect " a/b/d" :to-be-directory )
6267 (expect " x/y/z" :to-be-file )
68+ (expect " x/content" :to-be-file )
69+ (expect " x/content" :to-contain " content" )
6370 (expect " x/w" :to-be-file ))))
You can’t perform that action at this time.
0 commit comments