Skip to content

Commit

Permalink
renamed environment to env to not confise autotest, which thinks this…
Browse files Browse the repository at this point in the history
… is rails
  • Loading branch information
niklas committed Apr 14, 2010
1 parent 1305bce commit b3491f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .autotest
@@ -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.
3 changes: 1 addition & 2 deletions spec/spec_helper.rb
@@ -1,6 +1,6 @@
require 'spec/autorun' 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' ResultsDir = File.join APP_ROOT, 'tmp', 'results'


Spec::Runner.configure do |config| Spec::Runner.configure do |config|
Expand All @@ -17,5 +17,4 @@ def mail_path(name)
def result_path(name) def result_path(name)
name += '.tiff' unless name.ends_with?('.tiff') name += '.tiff' unless name.ends_with?('.tiff')
File.join ResultsDir, name File.join ResultsDir, name

end end

0 comments on commit b3491f7

Please sign in to comment.