Initial commit.

This commit is contained in:
yan
2011-11-17 15:45:33 -06:00
commit 882015bc6d
1819 changed files with 111625 additions and 0 deletions

View File

@@ -0,0 +1 @@
Factory(:${1}, ${2})${3}

View File

@@ -0,0 +1 @@
Factory.attributes_for(:${1}, ${2})${3}

View File

@@ -0,0 +1 @@
Factory.build(:${1}, ${2})${3}

View File

@@ -0,0 +1 @@
Factory.create(:${1})${2}

View File

@@ -0,0 +1,4 @@
Factory.define(:${1:model}) do |f|
${2}
end
${3}

View File

@@ -0,0 +1 @@
Factory.next(:${1:sequence-name})${2}

View File

@@ -0,0 +1,4 @@
Factory.sequence :${1:sequence-name} do |${2:m}|
${3}
end
${4}