summaryrefslogtreecommitdiff
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-12-30 13:32:43 -0800
committerjessib <jessib@riseup.net>2013-12-30 13:32:43 -0800
commitc3fadeb8da6eb4400a3ceb2fecee83173eceeaf2 (patch)
tree88b550fbda71286266831910913e6789b89ef2ea /test/test_helper.rb
parent7d1a25c2477b9607475f6b4c56f94d392c46950a (diff)
parent62f31ab0358bc165c9a83806db1828365cb96572 (diff)
Merge branch 'develop' into feature/messages_cron
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'