Sha256: 2db453a57637e33979d793763746422b33cac095237bbb2e7efd985ba121db82
Contents?: true
Size: 543 Bytes
Versions: 10
Compression:
Stored size: 543 Bytes
Contents
require 'spec_helper' module Commontator describe ControllerIncludes do it 'must add commontator_thread_show to ActionController instances' do ActionController::Base.new.must_respond_to :commontator_thread_show DummyModelsController.new.must_respond_to :commontator_thread_show 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
10 entries across 10 versions & 1 rubygems