search for: spec_dir

Displaying 2 results from an estimated 2 matches for "spec_dir".

2007 May 27
1
annotate_models plugin to annotate RSpec specs and fixture
...nnotate_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") annotate_one_file(model_file_name, info) + spe...
2012 May 12
0
Running Ruby on Rails with cPanel/machighway.com not working
...led from /usr/lib/ruby/site_ruby/1.8/ rubygems/source_index.rb:50. NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#initialize called from /usr/lib/ruby/site_ruby/1.8/ rubygems/source_index.rb:67. NOTE: Gem::SourceIndex#spec_dirs= is deprecated, use Specification.dirs=. It will be removed on or after 2011-11-01. Gem::SourceIndex#spec_dirs= called from /usr/lib/ruby/site_ruby/1.8/ rubygems/source_index.rb:94. NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::S...