mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Created a project skeleton with the Factory class
This commit is contained in:
commit
6a553ca10d
4 changed files with 20 additions and 0 deletions
1
lib/factory_girl.rb
Normal file
1
lib/factory_girl.rb
Normal file
|
@ -0,0 +1 @@
|
|||
require 'factory_girl/factory'
|
3
lib/factory_girl/factory.rb
Normal file
3
lib/factory_girl/factory.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
class Factory
|
||||
|
||||
end
|
9
test/factory_test.rb
Normal file
9
test/factory_test.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
require(File.join(File.dirname(__FILE__), 'test_helper'))
|
||||
|
||||
class FactoryTest < Test::Unit::TestCase
|
||||
|
||||
def test_truth
|
||||
assert true
|
||||
end
|
||||
|
||||
end
|
7
test/test_helper.rb
Normal file
7
test/test_helper.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
$: << File.join(File.dirname(__FILE__), '..', 'lib')
|
||||
|
||||
require 'rubygems'
|
||||
require 'activerecord'
|
||||
require 'factory_girl'
|
||||
require 'shoulda'
|
||||
|
Loading…
Reference in a new issue