From 98ffe7353cbc9d69a72125c3a436e199b48b91c2 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Sat, 11 Apr 2015 17:11:41 +0200 Subject: [PATCH] Make togglable fieldset specs case-insensitive Signed-off-by: Alex Coles --- spec/features/support/toggable_fieldsets.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/support/toggable_fieldsets.rb b/spec/features/support/toggable_fieldsets.rb index f804ad736b..b4c5739b36 100644 --- a/spec/features/support/toggable_fieldsets.rb +++ b/spec/features/support/toggable_fieldsets.rb @@ -31,7 +31,7 @@ require 'features/work_packages/work_packages_page' shared_context 'Toggable fieldset examples' do def toggable_title - find('legend a', text: fieldset_name) + find('legend a', text: /#{fieldset_name}/i) end def toggable_content