Przeglądaj źródła

Add interactors to Rails projections

Andrew Swistak 10 lat temu
rodzic
commit
0d37f6158b
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      vimrc

+ 6 - 0
vimrc

@@ -243,6 +243,12 @@ let g:rails_gem_projections = {
       \       "keywords": "describe it beforeEach expect loadFixtures xit"
       \     }
       \   },
+      \   "interactor-rails": {
+      \     "app/interactors/*.rb": {
+      \       "command": "interactor",
+      \       "template": "class %S\n\nend"
+      \     },
+      \   },
       \   "cucumber-rails": {
       \     "features/*.feature": {
       \       "command": "feature",