Skip to content
Browse files

Add 'shared_context' keyword

  • Loading branch information...
1 parent 8f4f2f7 commit 45e89eb2883e6eb18ba274782b85bd57bfe7e11c @uasi uasi committed with Aug 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/rails.vim
View
2 autoload/rails.vim
@@ -3647,7 +3647,7 @@ function! s:BufSyntax()
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
endif
elseif buffer.type_name('spec')
- 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
+ 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
syn match rubyRailsTestMethod '\<let\>!\='
syn keyword rubyRailsTestMethod violated pending expect double mock mock_model stub_model
syn match rubyRailsTestMethod '\.\@<!\<stub\>!\@!'

0 comments on commit 45e89eb

Please sign in to comment.
Something went wrong with that request. Please try again.