Sha256: c484881f6a3f5f08a080b2c7ac10870c1030877ca51e69d0c6473b4c1e61495d
Contents?: true
Size: 579 Bytes
Versions: 7
Compression:
Stored size: 579 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' 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::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 ApplicationController.respond_to?(:uses_tiny_mce) end end
Version data entries
7 entries across 7 versions & 2 rubygems