aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/timezone_fixes_spec.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-09-15 11:34:08 +0100
committerFrancis Irving <francis@mysociety.org>2010-09-15 11:34:08 +0100
commit6333fa139bc8b022162d02ef4d301d0a00e3f499 (patch)
treed737244101bbcb6fc1d9dd63967b3348f2f070f4 /spec/lib/timezone_fixes_spec.rb
parentad579293d65f99fd19a770b807dcb2753623f05a (diff)
Make path work in Ruby 1.9
Diffstat (limited to 'spec/lib/timezone_fixes_spec.rb')
-rw-r--r--spec/lib/timezone_fixes_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/timezone_fixes_spec.rb b/spec/lib/timezone_fixes_spec.rb
index 9ceb58a13..eef7e865c 100644
--- a/spec/lib/timezone_fixes_spec.rb
+++ b/spec/lib/timezone_fixes_spec.rb
@@ -2,7 +2,7 @@
# We use EximLogDone here just as a totally random model that has a datetime type.
-require File.dirname(__FILE__) + '/../spec_helper'
+require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe "when doing things with timezones" do