From 6b8ba314cc8178b24b6d81000db2142015964d65 Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Wed, 19 Jan 2011 17:29:26 -0300 Subject: [PATCH] Fixing tests --- test/fixtures/environments.yml | 2 +- test/test_helper.rb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/fixtures/environments.yml b/test/fixtures/environments.yml index 38af24c..757f297 100644 --- a/test/fixtures/environments.yml +++ b/test/fixtures/environments.yml @@ -4,7 +4,7 @@ colivre_net: name: 'Colivre.net' contact_email: 'colivre@localhost.localdomain' is_default: true - theme: 'default' + theme: 'noosfero' anhetegua_net: id: 2 name: 'Anheteguá' diff --git a/test/test_helper.rb b/test/test_helper.rb index a77dd13..3660859 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -15,6 +15,9 @@ FileUtils.rm_rf(File.join(RAILS_ROOT, 'index', 'test')) Image.attachment_options[:path_prefix] = 'test/tmp/public/images' Thumbnail.attachment_options[:path_prefix] = 'test/tmp/public/thumbnails' +FastGettext.add_text_domain 'noosferotest', :type => :chain, :chain => [] +FastGettext.default_text_domain = 'noosferotest' + class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completion. This ensures that the -- libgit2 0.21.2