diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-02-24 14:15:05 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-02-24 14:15:05 +0000 |
commit | 4c2bbeeabd69fd99239b60d4fb77fa8ba92664d7 (patch) | |
tree | 4f7cab725b67650bfff8affe9ccf4d306c27cc2a | |
parent | e0ca560bff806b83001ab828d903015beec79cb1 (diff) |
Fix require so that tests can be run from alaveteli Rails.root.
-rw-r--r-- | test/alavetelitheme_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/alavetelitheme_test.rb b/test/alavetelitheme_test.rb index 9e9e34f..3e2d782 100644 --- a/test/alavetelitheme_test.rb +++ b/test/alavetelitheme_test.rb @@ -1,8 +1,8 @@ -require 'test_helper' - +require File.expand_path(File.join(File.dirname(__FILE__), 'test_helper')) class AlavetelithemeTest < ActiveSupport::TestCase # Replace this with your real tests. test "the truth" do assert true end + end |