aboutsummaryrefslogtreecommitdiff
path: root/template/ruby/base-rspec.rb
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2020-04-01 02:07:50 +0900
committerGitHub <noreply@github.com>2020-04-01 02:07:50 +0900
commitddec9aa4370bacad939f702e8a9f396fc57c0a02 (patch)
tree96be490d96d4a3f7aa01dd70c5159c6b48946d16 /template/ruby/base-rspec.rb
parent6f2435f77a58142e9e410f5e796f7eedb55e70ed (diff)
parentb569b628e0b491cb60da0c7d4bf960339a437c02 (diff)
downloadvim-sonictemplate-ddec9aa4370bacad939f702e8a9f396fc57c0a02.tar.gz
vim-sonictemplate-ddec9aa4370bacad939f702e8a9f396fc57c0a02.tar.bz2
vim-sonictemplate-ddec9aa4370bacad939f702e8a9f396fc57c0a02.zip
Merge pull request #42 from uji/master
Add template for benchmark and RSpec of ruby
Diffstat (limited to 'template/ruby/base-rspec.rb')
-rw-r--r--template/ruby/base-rspec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/ruby/base-rspec.rb b/template/ruby/base-rspec.rb
new file mode 100644
index 0000000..46e7897
--- /dev/null
+++ b/template/ruby/base-rspec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe {{_input_:name}}, type: :{{_input_:type}} do
+ {{_cursor_}}
+end