Permalink
Browse files

renamed environment to env to not confise autotest, which thinks this…

… is rails
  • Loading branch information...
1 parent 1305bce commit b3491f7c6f9a3e6eedfc89ea65a1384d8eb65c6d @niklas committed Apr 14, 2010
Showing with 6 additions and 2 deletions.
  1. +5 −0 .autotest
  2. 0 config/{environment.rb → env.rb}
  3. +1 −2 spec/spec_helper.rb
View
@@ -0,0 +1,5 @@
+
+Autotest.add_hook :initialize do |at|
+ %w{tmp bin}.each {|exception| at.add_exception(exception) }
+ nil
+end
File renamed without changes.
View
@@ -1,6 +1,6 @@
require 'spec/autorun'
-require File.expand_path(File.join(File.dirname(__FILE__),'..','config','environment'))
+require File.expand_path(File.join(File.dirname(__FILE__),'..','config','env'))
ResultsDir = File.join APP_ROOT, 'tmp', 'results'
Spec::Runner.configure do |config|
@@ -17,5 +17,4 @@ def mail_path(name)
def result_path(name)
name += '.tiff' unless name.ends_with?('.tiff')
File.join ResultsDir, name
-
end

0 comments on commit b3491f7

Please sign in to comment.