Skip to content

Commit 2d2ac74

Browse files
committed
Recognize additional RSpec methods.
1 parent 5e507fa commit 2d2ac74

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
@@ -3541,7 +3541,7 @@ function! s:BufSyntax()
35413541
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
35423542
endif
35433543
elseif buffer.type_name('spec')
3544-
syn keyword rubyRailsTestMethod describe context it its specify it_should_behave_like before after subject fixtures controller_name helper_name
3544+
syn keyword rubyRailsTestMethod describe context it its specify shared_examples_for it_should_behave_like let before after subject fixtures controller_name helper_name
35453545
syn keyword rubyRailsTestMethod violated pending expect double mock mock_model stub_model
35463546
syn match rubyRailsTestMethod '\.\@<!\<stub\>!\@!'
35473547
if !buffer.type_name('spec-model')

0 commit comments

Comments
 (0)