spec/spec_helper.rb in compare_linker-1.3.0 vs spec/spec_helper.rb in compare_linker-1.3.1
- old
+ new
@@ -1,11 +1,16 @@
+require 'compare_linker'
+require 'factory_girl'
require 'rspec'
-require "compare_linker"
-
Dir["#{__dir__}/support/**/*.rb"].each do |f|
require f
end
RSpec.configure do |config|
+ config.include FactoryGirl::Syntax::Methods
config.include LoadFixtureHelper
+
+ config.before(:suite) do
+ FactoryGirl.find_definitions
+ end
end