fix2factory 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fix2factory/fixture_parser.rb +1 -1
- data/lib/fix2factory/version.rb +1 -1
- data/lib/fix2factory.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60768537f19d190aeb541ce593af5dcf8f9c3a08
|
4
|
+
data.tar.gz: c887747c36f753fdfb17418e03ce6ff11b3dcbf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42ea08e1c336885ec9ef465381650e1e46270f9db51c9227edc853e118f309b026b6909b3c2e13a3bbd8f4cea17efed3e906def305c50d4cf34de43980cd8f1d
|
7
|
+
data.tar.gz: 975eb8370ebb4b767f3a2300675bb5b2eb6da8e98fcaf41363152c68083ee72793e364152e3b8da816cd49552cb4d070af2f749b8bf2595c63760840bb3bd18d
|
@@ -29,7 +29,7 @@ module Fix2factory
|
|
29
29
|
factory_defination = []
|
30
30
|
|
31
31
|
@factory_names.each do |name|
|
32
|
-
factory_defination << "
|
32
|
+
factory_defination << "FactoryGirl.define do"
|
33
33
|
factory_defination << " factory :#{model_name}, class: #{model_name.camelize} do"
|
34
34
|
define_attributes_for(name).each do |attr|
|
35
35
|
factory_defination << attr
|
data/lib/fix2factory/version.rb
CHANGED
data/lib/fix2factory.rb
CHANGED