From 80ed2cf0f0877f5767d2d1a62586e8e0e32b3395 Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Mon, 19 Jan 2015 13:26:28 -0200 Subject: [PATCH] attempt to decrease bak flakiness --- plugins/bak/spec/bak.spec.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/bak/spec/bak.spec.fish b/plugins/bak/spec/bak.spec.fish index 3ef34b2..7d4a610 100644 --- a/plugins/bak/spec/bak.spec.fish +++ b/plugins/bak/spec/bak.spec.fish @@ -83,10 +83,12 @@ function describe_bak_plugin function it_undo_copies_of_a_single_file touch a cpbak a + set -l bak_filename (__bak_name a) + rm a uncpbak (ls) - expect (ls) --to-contain-all (echo 'a'\n(__bak_name a)) + expect (ls) --to-contain-all (echo 'a'\n$bak_filename) end function it_undo_copies_of_multiple_files