Skip to content

Commit 42522f7

Browse files
Lorenz Kitzmannlorenzk
authored andcommitted
Syntax highlighting for assert_includes
1 parent 2c5c72a commit 42522f7

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
@@ -3811,7 +3811,7 @@ function! rails#buffer_syntax()
38113811
exe "syn keyword rubyRailsUserMethod ".join(rails#app().user_assertions())
38123812
endif
38133813
syn keyword rubyRailsTestMethod refute refute_empty refute_equal refute_in_delta refute_in_epsilon refute_includes refute_instance_of refute_kind_of refute_match refute_nil refute_operator refute_predicate refute_respond_to refute_same
3814-
syn keyword rubyRailsTestMethod add_assertion assert assert_block assert_equal assert_in_delta assert_instance_of assert_kind_of assert_match assert_nil assert_no_match assert_not assert_not_equal assert_not_nil assert_not_same assert_nothing_raised assert_nothing_thrown assert_operator assert_raise assert_respond_to assert_same assert_send assert_throws assert_recognizes assert_generates assert_routing flunk fixtures fixture_path use_transactional_fixtures use_instantiated_fixtures assert_difference assert_no_difference assert_valid
3814+
syn keyword rubyRailsTestMethod add_assertion assert assert_block assert_equal assert_includes assert_in_delta assert_instance_of assert_kind_of assert_match assert_nil assert_no_match assert_not assert_not_equal assert_not_nil assert_not_same assert_nothing_raised assert_nothing_thrown assert_operator assert_raise assert_respond_to assert_same assert_send assert_throws assert_recognizes assert_generates assert_routing flunk fixtures fixture_path use_transactional_fixtures use_instantiated_fixtures assert_difference assert_no_difference assert_valid
38153815
syn keyword rubyRailsTestMethod test setup teardown
38163816
if !buffer.type_name('test-unit')
38173817
syn match rubyRailsTestControllerMethod '\.\@<!\<\%(get\|post\|put\|patch\|delete\|head\|process\|assigns\)\>'

0 commit comments

Comments
 (0)