Displaying 1 result from an estimated 1 matches for "fixture_dir".
2007 May 27
1
annotate_models plugin to annotate RSpec specs and fixture
...=======================
--- vendor/plugins/annotate_models/lib/annotate_models.rb (revision 45)
+++ vendor/plugins/annotate_models/lib/annotate_models.rb (working copy)
@@ -1,7 +1,8 @@
require "config/environment"
MODEL_DIR = File.join(RAILS_ROOT, "app/models")
-FIXTURE_DIR = File.join(RAILS_ROOT, "test/fixtures")
+SPEC_DIR = File.join(RAILS_ROOT, "spec/models")
+FIXTURE_DIR = File.join(RAILS_ROOT, "spec/fixtures")
module AnnotateModels
@@ -75,6 +76,9 @@
model_file_name = File.join(MODEL_DIR, klass.name.underscore + ".rb&q...