Skip to content

Commit

Permalink
remove a warning in the Test::Unit test suite with re-initializing RA…
Browse files Browse the repository at this point in the history
…ILS_ROOT
  • Loading branch information
smtlaissezfaire committed Sep 25, 2010
1 parent 2cba395 commit 2f58c05
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 @@ -4,7 +4,7 @@

require 'test/unit'

RAILS_ROOT = "."
RAILS_ROOT = "." unless defined?(RAILS_ROOT)

require File.dirname(__FILE__) + "/../spec/spec_helpers"
include SpecHelperFunctions
Expand Down

0 comments on commit 2f58c05

Please sign in to comment.