Commit d30e8ede610fb6d9591388bd99ed2a0c7c390750
1 parent
051dc214
Exists in
master
and in
27 other branches
Remove test that brings no value
Showing
1 changed file
with
0 additions
and
19 deletions
Show diff stats
test/integration/tiny_mce_languages_test.rb
... | ... | @@ -1,19 +0,0 @@ |
1 | -require "#{File.dirname(__FILE__)}/../test_helper" | |
2 | - | |
3 | -class TinyMceLanguagesTest < ActionController::IntegrationTest | |
4 | - | |
5 | - Noosfero.available_locales.map { |locale| locale.split('_').first }.each do |language| | |
6 | - should "have TinyMCE #{language} language pack" do | |
7 | - assert_exists_tinymce_language_file("langs/#{language}.js") | |
8 | - assert_exists_tinymce_language_file("themes/simple/langs/#{language}.js") | |
9 | - assert_exists_tinymce_language_file("themes/advanced/langs/#{language}.js") | |
10 | - end | |
11 | - end | |
12 | - | |
13 | - def assert_exists_tinymce_language_file(file) | |
14 | - filename = Rails.root.join("public", "javascripts", "tinymce", "jscripts", "tiny_mce", file) | |
15 | - assert(File.exists?(filename), "#{filename} must exist") | |
16 | - end | |
17 | - | |
18 | - | |
19 | -end |