diff options
author | Francis Irving <francis@mysociety.org> | 2010-09-15 11:34:08 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-09-15 11:34:08 +0100 |
commit | 6333fa139bc8b022162d02ef4d301d0a00e3f499 (patch) | |
tree | d737244101bbcb6fc1d9dd63967b3348f2f070f4 /spec/controllers/user_controller_spec.rb | |
parent | ad579293d65f99fd19a770b807dcb2753623f05a (diff) |
Make path work in Ruby 1.9
Diffstat (limited to 'spec/controllers/user_controller_spec.rb')
-rw-r--r-- | spec/controllers/user_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb index 18c376642..adc52303e 100644 --- a/spec/controllers/user_controller_spec.rb +++ b/spec/controllers/user_controller_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') # XXX Use route_for or params_from to check /c/ links better # http://rspec.rubyforge.org/rspec-rails/1.1.12/classes/Spec/Rails/Example/ControllerExampleGroup.html |