Permalink
Browse files

load "fr.rb" when loading "fixture_replacement"

  • Loading branch information...
1 parent 5172432 commit 747aeb28d762d36ad86c3f3ef9cf6467951400c9 @smtlaissezfaire committed Nov 21, 2009
Showing with 3 additions and 2 deletions.
  1. +2 −0 lib/fixture_replacement.rb
  2. +1 −2 spec/spec_helper.rb
@@ -11,4 +11,6 @@ class InvalidInstance < StandardError; end
extend FixtureReplacement::ClassMethods
end
+load "fr.rb"
+
FixtureReplacement.load_example_data
View
@@ -3,14 +3,13 @@
setup_database_connection
require File.dirname(__FILE__) + "/../lib/fixture_replacement"
-require File.dirname(__FILE__) + "/../lib/fr"
require File.dirname(__FILE__) + "/fixture_replacement/fixtures/classes"
Spec::Runner.configure do |config|
config.prepend_before(:each) do
FixtureReplacement::AttributeBuilder.clear_out_instances!
end
-
+
config.prepend_after(:each) do
FixtureReplacement::AttributeBuilder.clear_out_instances!
end

0 comments on commit 747aeb2

Please sign in to comment.