Skip to content

Commit 45e89eb

Browse files
uasitpope
authored andcommitted
Add 'shared_context' keyword
1 parent 8f4f2f7 commit 45e89eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3647,7 +3647,7 @@ function! s:BufSyntax()
36473647
syn keyword rubyRailsTestControllerMethod assert_response assert_redirected_to assert_template assert_recognizes assert_generates assert_routing assert_dom_equal assert_dom_not_equal assert_select assert_select_rjs assert_select_encoded assert_select_email assert_tag assert_no_tag
36483648
endif
36493649
elseif buffer.type_name('spec')
3650-
syn keyword rubyRailsTestMethod describe context it its specify shared_examples_for it_should_behave_like before after around subject fixtures controller_name helper_name scenario feature background
3650+
syn keyword rubyRailsTestMethod describe context it its specify shared_context shared_examples_for it_should_behave_like before after around subject fixtures controller_name helper_name scenario feature background
36513651
syn match rubyRailsTestMethod '\<let\>!\='
36523652
syn keyword rubyRailsTestMethod violated pending expect double mock mock_model stub_model
36533653
syn match rubyRailsTestMethod '\.\@<!\<stub\>!\@!'

0 commit comments

Comments
 (0)