parent
64c7c1360f
commit
cd5beb02db
|
@ -44,6 +44,12 @@ RSpec.configure do |config|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Remember to require the above file in your spec_helper since the support folder isn't eagerly loaded
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
require 'support/factory_girl'
|
||||||
|
```
|
||||||
|
|
||||||
# Test::Unit
|
# Test::Unit
|
||||||
class Test::Unit::TestCase
|
class Test::Unit::TestCase
|
||||||
include FactoryGirl::Syntax::Methods
|
include FactoryGirl::Syntax::Methods
|
||||||
|
|
Loading…
Reference in New Issue