Commit 6b8ba314cc8178b24b6d81000db2142015964d65
Committed by
Daniela Feitosa
1 parent
d7b0f561
Exists in
master
and in
28 other branches
Fixing tests
- Default theme while running tests should be a real theme (using 'noosfero' theme) - Disable translation while running tests
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
test/fixtures/environments.yml
test/test_helper.rb
... | ... | @@ -15,6 +15,9 @@ FileUtils.rm_rf(File.join(RAILS_ROOT, 'index', 'test')) |
15 | 15 | Image.attachment_options[:path_prefix] = 'test/tmp/public/images' |
16 | 16 | Thumbnail.attachment_options[:path_prefix] = 'test/tmp/public/thumbnails' |
17 | 17 | |
18 | +FastGettext.add_text_domain 'noosferotest', :type => :chain, :chain => [] | |
19 | +FastGettext.default_text_domain = 'noosferotest' | |
20 | + | |
18 | 21 | class Test::Unit::TestCase |
19 | 22 | # Transactional fixtures accelerate your tests by wrapping each test method |
20 | 23 | # in a transaction that's rolled back on completion. This ensures that the | ... | ... |