diff options
Diffstat (limited to 'qa/qa/page/layout/flash.rb')
-rw-r--r-- | qa/qa/page/layout/flash.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/page/layout/flash.rb b/qa/qa/page/layout/flash.rb index 6bd3d6ab76b..d379ea1428e 100644 --- a/qa/qa/page/layout/flash.rb +++ b/qa/qa/page/layout/flash.rb @@ -10,12 +10,12 @@ module QA super base.view 'app/views/layouts/_flash.html.haml' do - element :flash_container + element 'flash-container' end end def has_notice?(message) - within_element(:flash_container) do + within_element('flash-container') do has_text?(message) end end |