summaryrefslogtreecommitdiff
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-12-30 13:32:11 -0800
committerjessib <jessib@riseup.net>2013-12-30 13:32:11 -0800
commit8db811678404aa9a33c54805f8fba4afb932c1f4 (patch)
treee94f2d44be2af63999fb1b332f8a795bb8a35b26 /test/test_helper.rb
parent7f12c795207ac818bffac42aa581bf1165f9e424 (diff)
parent62f31ab0358bc165c9a83806db1828365cb96572 (diff)
Merge branch 'develop' into feature/messages_api
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index b2f674d..3e301e7 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -9,6 +9,11 @@ Dir["#{File.dirname(__FILE__)}/../*/test/support/**/*.rb"].each { |f| require f
class ActiveSupport::TestCase
# Add more helper methods to be used by all tests here...
+
+ def file_path(name)
+ File.join(Rails.root, 'test', 'files', name)
+ end
+
end
require 'capybara/poltergeist'