Skip to content

Commit 7f1b94e

Browse files
committed
Highlight its and expect from RSpec
1 parent d21d6b6 commit 7f1b94e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/rails.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3520,8 +3520,8 @@ function! s:BufSyntax()
35203520
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
35213521
endif
35223522
elseif t=~ '^spec\>'
3523-
syn keyword rubyRailsTestMethod describe context it specify it_should_behave_like before after subject fixtures controller_name helper_name
3524-
syn keyword rubyRailsTestMethod violated pending mock mock_model stub_model
3523+
syn keyword rubyRailsTestMethod describe context it its specify it_should_behave_like before after subject fixtures controller_name helper_name
3524+
syn keyword rubyRailsTestMethod violated pending expect mock mock_model stub_model
35253525
syn match rubyRailsTestMethod '\.\@<!\<stub\>!\@!'
35263526
if t !~ '^spec-model\>'
35273527
syn match rubyRailsTestControllerMethod '\.\@<!\<\%(get\|post\|put\|delete\|head\|process\|assigns\)\>'

0 commit comments

Comments
 (0)