From 6477e7573e867c01e7012e93eb4e8ca5588c54b4 Mon Sep 17 00:00:00 2001 From: bootleq Date: Sun, 2 Jun 2019 10:04:46 +0800 Subject: [PATCH] Add match for Capybara::SessionMatchers Mainly for `assert_current_path`. https://www.rubydoc.info/github/teamcapybara/capybara/master/Capybara/SessionMatchers --- after/syntax/ruby.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/after/syntax/ruby.vim b/after/syntax/ruby.vim index a4272af..15e2d93 100644 --- a/after/syntax/ruby.vim +++ b/after/syntax/ruby.vim @@ -3,6 +3,8 @@ syntax keyword rubyCapybaraMethod \ must_have_css \ wont_have_content \ wont_have_css + \ assert_current_path + \ assert_no_current_path \ save_screenshot \ body \ fill_in