seed fu should not run before the suite, just before fork

we have no seeds.rb so do nothing there
This commit is contained in:
Sam 2013-04-26 13:59:02 +10:00
parent 7d9fd350d3
commit a56a926582
1 changed files with 5 additions and 4 deletions

View File

@ -42,7 +42,8 @@ Spork.prefork do
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
load "#{Rails.root}/db/seeds.rb"
# let's not run seed_fu every test
SeedFu.seed
RSpec.configure do |config|
@ -60,9 +61,9 @@ Spork.prefork do
# rspec-rails.
config.infer_base_class_for_anonymous_controllers = true
config.before(:suite) do
SeedFu.seed
end
# if we need stuff post fork, pre tests run here
# config.before(:suite) do
# end
config.before(:all) do
DiscoursePluginRegistry.clear