Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed 1 test

  • Loading branch information...
commit 3a3db21521a983ca47c58ab5e332d413e868ba87 1 parent 2f9a7eb
@cice cice authored alsemyonov committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/tiny_mce_test.rb
View
4 test/unit/tiny_mce_test.rb
@@ -5,12 +5,12 @@ class TinyMCETest < ActiveSupport::TestCase
test "including tiny mce module into a class should provide uses_tiny_mce method" do
test_controller = TestController.new
assert !test_controller.class.respond_to?(:uses_tiny_mce)
- TestController.send(:include, TinyMCE)
+ TestController.send(:include, TinyMCE::Base)
assert test_controller.class.respond_to?(:uses_tiny_mce)
end
test "tiny mce plugin is included into action controller base and uses_tiny_mce method available" do
- assert ActionController::Base::TinyMCE
+ assert ActionController::Base::TinyMCE::Base
assert ApplicationController.respond_to?(:uses_tiny_mce)
end
Please sign in to comment.
Something went wrong with that request. Please try again.