Sha256: 4296deb04941435a26e56f939b47eb83b3adf8bf7363e078b7327c594bf6443c
Contents?: true
Size: 581 Bytes
Versions: 15
Compression:
Stored size: 581 Bytes
Contents
require 'test_helper' module Commontator describe ControllerIncludes do it 'must add commontator_thread_show to ActionController instances' do ActionController::Base.new.respond_to?(:commontator_thread_show, true).must_equal true DummyModelsController.new.respond_to?(:commontator_thread_show, true).must_equal true end it 'must add shared helper to ActionController and subclasses' do ActionController::Base.helpers.must_respond_to :commontator_thread DummyModelsController.helpers.must_respond_to :commontator_thread end end end
Version data entries
15 entries across 15 versions & 1 rubygems