From: Tomas Sedovic <[email protected]>
A previous commit added explicit loading of the factories when running
rake spec. However, when the factories are loaded automatically (as they sholud
be), this breaks the tests.
This commit resets the previous change.
---
src/spec/spec_helper.rb | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/spec/spec_helper.rb b/src/spec/spec_helper.rb
index 4a72e06..5181389 100644
--- a/src/spec/spec_helper.rb
+++ b/src/spec/spec_helper.rb
@@ -13,9 +13,6 @@ require 'authlogic/test_case'
# in ./support/ and its subdirectories.
Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each
{|f| require f}
-# factories are not loaded automatically (at least with rspec 1.3.0 on Fedora
13)
-Dir[File.expand_path(File.join(File.dirname(__FILE__),'factories','**','*.rb'))].each
{|f| puts f;require f}
-
Spec::Runner.configure do |config|
# If you're not using ActiveRecord you should remove these
# lines, delete config/database.yml and disable :active_record
--
1.7.1.1
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel