Are tests supposed to run successfully?
Reported by MarianTheisen | January 4th, 2010 @ 02:38 PM
i created a vanilla rails 2.3.5 app, and ran 'rake test' in vender/plugins/tiny_mce, as well as 'rake test:plugins' in app root. i get 1 failure and 15 errors.
..E..........EEE./vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:21:
warning: already initialized constant RAILS_ENV
EEEEEEEEEEEF./vendor/plugins/tiny_mce/test/unit/tiny_mce_test.rb:13:
warning: toplevel constant TinyMCE referenced by
ActionController::Base::TinyMCE
. Finished in 0.06214 seconds.
1) Error:
test_the_spellchecker_action_is_available(FullTinyMCEControllerTest):
ActionController::UnknownAction: No action responded to
spellchecker. Actions: edit_page, new_page, and show_page
/vendor/plugins/tiny_mce/test/functional/full_tiny_mce_controller_test.rb:50:in `test_the_spellchecker_action_is_available'
2) Error:
test_additional_tiny_mce_options_can_be_set_in_the_form_of_raw_js(TinyMCEHelpersTest):
NoMethodError: undefined method raw_tiny_mce_init' for
#<TinyMCEHelpersTest:0x1038efb30><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:89:in `test_additional_tiny_mce_options_can_be_set_in_the_form_of_raw_js'
3) Error:
test_array_is_formed_as_expected(TinyMCEHelpersTest):
NoMethodError: undefined method raw_tiny_mce_init' for
#<TinyMCEHelpersTest:0x1038efb08><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:70:in `test_array_is_formed_as_expected'
4) Error:
test_booleans_are_formed_as_expected(TinyMCEHelpersTest):
NoMethodError: undefined method raw_tiny_mce_init' for
#<TinyMCEHelpersTest:0x1038efab8><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:77:in `test_booleans_are_formed_as_expected'
5) Error:
test_correct_tiny_mce_is_loaded_depending_on_environment(TinyMCEHelpersTest):
NameError: undefined local variable or method
include_tiny_mce_js' for
#<TinyMCEHelpersTest:0x1038efa18><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:22:in `test_correct_tiny_mce_is_loaded_depending_on_environment'
6) Error:
test_correct_tiny_mce_is_only_loaded_when_using_it(TinyMCEHelpersTest):
NameError: undefined local variable or method
include_tiny_mce_js_if_needed' for
#<TinyMCEHelpersTest:0x1038ef978><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:32:in `test_correct_tiny_mce_is_only_loaded_when_using_it'
7) Error: test_defaults_are_overridable(TinyMCEHelpersTest):
NoMethodError: undefined method raw_tiny_mce_init' for
#<TinyMCEHelpersTest:0x1038ef8d8><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:84:in `test_defaults_are_overridable'
8) Error:
test_exception_is_raised_when_an_invalid_option_is_used(TinyMCEHelpersTest):
NameError: uninitialized constant
TinyMCEHelpersTest::TinyMCEInvalidOption
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:93:in `test_exception_is_raised_when_an_invalid_option_is_used'
9) Error:
test_exception_is_raised_when_an_invalid_option_value_type_is_used(TinyMCEHelpersTest):
NameError: uninitialized constant
TinyMCEHelpersTest::TinyMCEInvalidOptionType
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:105:in `test_exception_is_raised_when_an_invalid_option_value_type_is_used'
10) Error:
test_exception_when_plugins_option_is_not_an_array(TinyMCEHelpersTest):
NameError: uninitialized constant
TinyMCEHelpersTest::TinyMCEInvalidOptionType
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:99:in `test_exception_when_plugins_option_is_not_an_array'
11) Error: (TinyMCEHelpersTest): NameError: undefined local
variable or method include_tiny_mce_if_needed' for
#<TinyMCEHelpersTest:0x1038ef658><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:50:in `test_include_tiny_mce_if_needed_outputs_the_required_JS_when_needed'
12) Error:
test_string,symbol,or_fixnum_is_formed_as_expected(TinyMCEHelpersTest):
NoMethodError: undefined method raw_tiny_mce_init' for
#<TinyMCEHelpersTest:0x1038ef5b8><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:61:in `test_string,_symbol,_or_fixnum_is_formed_as_expected'
13) Error:
test_tiny_mce_init_if_needed_only_wraps_raw_js_in_a_javascript_tag_if_needed(TinyMCEHelpersTest):
NameError: undefined local variable or method
tiny_mce_init_if_needed' for
#<TinyMCEHelpersTest:0x1038ef4a0><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:43:in `test_tiny_mce_init_if_needed_only_wraps_raw_js_in_a_javascript_tag_if_needed'
14) Error:
test_tiny_mce_init_wraps_raw_js_in_a_javascript_tag(TinyMCEHelpersTest):
NoMethodError: undefined method tiny_mce_init' for
#<TinyMCEHelpersTest:0x1038ef450><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:38:in `test_tiny_mce_init_wraps_raw_js_in_a_javascript_tag'
15) Error:
test_using_tiny_mce_method_works_as_expected(TinyMCEHelpersTest):
NoMethodError: undefined method using_tiny_mce?' for
#<TinyMCEHelpersTest:0x1038ef3b0><br/>
/vendor/plugins/tiny_mce/test/unit/helpers/tiny_mce_helper_test.rb:12:in `test_using_tiny_mce_method_works_as_expected'
16) Failure:
test_including_tiny_mce_module_into_a_class_should_provide_uses_tiny_mce_method(TinyMCETest)
[/vendor/plugins/tiny_mce/test/unit/tiny_mce_test.rb:9]:
is not true.
29 tests, 52 assertions, 1 failures, 15 errors
Comments and changes to this ticket
-
tommchris7 May 10th, 2024 @ 07:03 PM
While Watermelon Game can be enjoyed solo, its multiplayer features add an extra layer of excitement and camaraderie. Players can compete against friends and rivals in head-to-head matches, vying for supremacy on the global leaderboards
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Ruby on Rails plugin that allows easy implementation of the TinyMCE editor into your applications.