Skip to content

Commit c1e7c74

Browse files
workgenatpope
authored andcommitted
Add assertions: assert_changes, assert_no_changes
Documentation: https://edgeapi.rubyonrails.org/classes/ActiveSupport/Testing/Assertions.html
1 parent b7ab419 commit c1e7c74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

after/syntax/ruby/rails.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ if rails#buffer().type_name('test')
179179
endif
180180
syn keyword rubyTestMacro test setup teardown
181181
syn keyword rubyAssertion assert_difference assert_no_difference
182+
syn keyword rubyAssertion assert_changes assert_no_changes
182183
syn keyword rubyTestAction travel travel_to travel_back
183184
endif
184185
if rails#buffer().type_name('test-controller', 'test-integration', 'test-system')

0 commit comments

Comments
 (0)