aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-06-23 09:33:42 +0100
committerRobin Houston <robin.houston@gmail.com>2012-06-23 09:33:42 +0100
commitdb1a388f0a7b37cc0ceb3ca07b995b34dabdba58 (patch)
treee34df5ae0dacdbf6c3b77542b22f2d9e3799d322 /spec/spec_helper.rb
parenta7cc84b9b2b430644fe23e6328d7ab289e7abf0a (diff)
parent7d0fea4b38c214a67b2fc4b56aa670e02a3cda61 (diff)
Merge branch 'develop' of github.com:sebbacon/alaveteli into develop
Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index a98a5113d..a7f3020c1 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -20,6 +20,10 @@ FakeWeb.register_uri(:purge, %r|varnish.localdomain|, :body => "OK")
# Uncomment the next line to use webrat's matchers
#require 'webrat/integrations/rspec-rails'
+# Use test-specific translations
+FastGettext.add_text_domain 'app', :path => File.join(File.dirname(__FILE__), 'fixtures', 'locale'), :type => :po
+FastGettext.default_text_domain = 'app'
+
Spec::Runner.configure do |config|
# If you're not using ActiveRecord you should remove these
# lines, delete config/database.yml and disable :active_record