9 lines
188 B
Text
9 lines
188 B
Text
|
# -*- mode: snippet -*-
|
||
|
# name: factory
|
||
|
# key: factory
|
||
|
# --
|
||
|
FactoryGirl.define do
|
||
|
factory :${1:`(file-name-sans-extension (file-name-nondirectory buffer-file-name))`} do
|
||
|
$0
|
||
|
end
|
||
|
end
|