fix2factory 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37eb04c5a2174a0e505c651f02ae098a6a750a62
4
- data.tar.gz: a5a5d6db6af7828814afe080784de19ad53d1472
3
+ metadata.gz: 60768537f19d190aeb541ce593af5dcf8f9c3a08
4
+ data.tar.gz: c887747c36f753fdfb17418e03ce6ff11b3dcbf3
5
5
  SHA512:
6
- metadata.gz: 007f0270f0bf36a54d56b4403a8539b5fa56e527b977d501bd3876aea5f4661207b154767fa8a6669ebbb0e4539eae7cc50473ac02ce10efbb37992c5e249fbb
7
- data.tar.gz: 53888b5b8fa191ed52c3e1184b646fa28b91d9b45fe09cc64fe39d8c8fd63598310391d83210a322e821f40df32de69ca3b1140417c9ed19c483ccebf2b82e4c
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 << "Factory.define do"
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
@@ -1,3 +1,3 @@
1
1
  module Fix2factory
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/fix2factory.rb CHANGED
@@ -5,7 +5,7 @@ module Fix2factory
5
5
 
6
6
  APP_ROOT = '.'
7
7
 
8
- TEST_FIXTURES = "#{APP_ROOT}/test/fixtures/*"
8
+ TEST_FIXTURES = "#{APP_ROOT}/test/fixtures/*.yml"
9
9
 
10
10
  TEST_FACTORIES = "#{APP_ROOT}/test/factories/"
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fix2factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Teddy