diff --git a/.autotest b/.autotest new file mode 100644 index 0000000..a6776eb --- /dev/null +++ b/.autotest @@ -0,0 +1,5 @@ + +Autotest.add_hook :initialize do |at| + %w{tmp bin}.each {|exception| at.add_exception(exception) } + nil +end diff --git a/config/environment.rb b/config/env.rb similarity index 100% rename from config/environment.rb rename to config/env.rb diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7d139c9..90812af 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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