load fixtures from plugin directory

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@178 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent adbbe77bc3
commit 6ac942279b
  1. 1
      spec/spec_helper.rb

@ -20,4 +20,5 @@ rescue LoadError => error
raise error raise error
end end
Fixtures.create_fixtures File.join(File.dirname(__FILE__), "fixtures"), ActiveRecord::Base.connection.tables
require File.join(File.dirname(__FILE__), "..", "init.rb") require File.join(File.dirname(__FILE__), "..", "init.rb")
Loading…
Cancel
Save