Skip to content

Commit

Permalink
Fixed tests running local rails version
Browse files Browse the repository at this point in the history
  • Loading branch information
stffn committed Jan 19, 2010
1 parent 4e72b22 commit 925466b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require File.join(File.dirname(__FILE__), %w{.. lib declarative_authorization maintenance})

unless defined?(ActiveRecord)
if File.directory? RAILS_ROOT + 'config'
if File.directory? RAILS_ROOT + '/config'
puts 'using config/boot.rb'
ENV['RAILS_ENV'] = 'test'
require File.join(RAILS_ROOT, 'config', 'boot.rb')
Expand Down

0 comments on commit 925466b

Please sign in to comment.