From a1535d6c04dc5edf9a42d76ec7d13d39ab2feb80 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 10 Jun 2016 12:12:36 +1000 Subject: [PATCH] Catch flash messages after fadeout --- spec/support/request/web_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/request/web_helper.rb b/spec/support/request/web_helper.rb index 23f9757c5b..bca12c46ab 100644 --- a/spec/support/request/web_helper.rb +++ b/spec/support/request/web_helper.rb @@ -78,7 +78,7 @@ module WebHelper end def flash_message - find('.flash').text.strip + find('.flash', visible: false).text.strip end def errors